CViewportNode Class
class CViewportNode: public CDCLayoutBase
Implementation of the IViewportNode interface.
Provides integration of the Layout Manager service with the
MVC architecture, by allowing MVC windowless viewports to participate
in layout operations.
Defined in: ViewportNode.h
Comments
There are two types of viewports in MVC: windowed viewports and windowless
viewports. The former are implemented as real windows, so they can be attached
to standard window layout nodes. Windowless viewports draw directly on the area
of their master window, they do not have a window of their own. This characteristic
is very similar to the functionality
CDCLayoutBase offers in the context
of the layout manager. CViewportNode specializes CDCLayoutBase by delegating the
painting processes to the corresponding IVisual methods, and performing the appropiate
steps in RealizeNode to assign the new area to the viewport.