CODViewport::CreateChildWnd

BOOLCODViewport::CreateChildWnd(CODWndComponent*pWndComp)

Creates the window component as a child of the viewport's owner window.

Defined in: OdViewport.cpp

Return Value

TRUE if successful; otherwise FALSE.

Parameters

pWndComp

Pointer to a window component.

Comments

This function calls  CODWndComponent::CreateWnd on the given window component. The window returned by MvcViewport::GetWnd is used as the parent window for the component.