CView Methods

Constructors Methods

Method Description
CView Constructs a CView object.

Operations Methods

Method Description
GetDocument Returns the document associated with the view.

Overridable Methods

Method Description
OnActivateFrame Called when the frame window containing the view is activated or deactivated.
OnActivateView Called when a view is activated.
OnBeginPrinting Called when a print job begins; override to allocate graphics device interface (GDI) resources.
OnDraw Called to render an image of the document for screen display, printing, or print preview. Implementation required.
OnEndPrinting Called when a print job ends; override to deallocate GDI resources.
OnInitialUpdate Called after a view is first attached to a document.
OnPrepareDC Called before the OnDraw method is called for screen display.
OnPreparePrinting Called before a document is printed or previewed; override to initialize the Print dialog box.
OnPrint Called to print or preview a page of the document.
OnScroll Called when OLE items are dragged beyond the borders of the view.
OnScrollBy Called when a view containing active in-place OLE items is scrolled.
OnUpdate Called to notify a view that its document has been modified.