ABSTRACT

The previous chapter demonstrated how a diagram that encompasses a large viewing area may be aptly printed on multiple pages. This was achieved using a transformation-deŸning mapping mode and the setting of the extents of the window and viewport rectangles using scaling and the inbuilt convenience of scroll bars in Print Preview mode. However, when not in Printing or Print Preview mode, no vertical or horizontal scroll bars are present on the main CView-derived (model-drawing) window, and hence, the user is limited in the amount of space available to draw a model diagram. Hence, changes need to be made to the DiagramEng project to convert the existing CView-based code to a CScrollView-based implementation.