IViewportNode::Init method

Initializes a viewport layout node. Unlike the version of Init() found in ILayoutNode, it receives in its second parameter a pointer to the IVisual interface implemented by the viewport.

Defined in: ViewportNode.h

Parameters

hwndParent

Window associated to the entire layout manager structure.

pVP

Pointer to the IVisual interface implemented by the viewport.

Comments

After this method returns, the layout node is permanently associated with the viewport pointed by pVP. If this viewport gets destroyed by some means other than upon the window destruction, you need to manually destroy this layout node.

Syntax

pVPNode-&gtInit(hwndParent, pVP);