Step 2: Implementing the Document and the View

Now that the skeleton of the Bitmap Editor application is built (see Step 1: Generating the Base Files With the Wizard), Step 2 shows how to implement a document. You will see how to read a document or create a new one, as well as how to display the bitmap. The classes generated and used are BitmapDocument, which derives from IlvDvDocument and BitmapView, which derives from IlvDvFormView. Both classes have been generated during Step 1 with the Application Framework Editor.