CODViewport::CreateChildrenWnds

BOOL CODViewport::CreateChildrenWnds(CODComponent* pComp)

Creates the window components as children of the viewport's owner window for the all windowed components in a brunch from the given component.

Defined in: OdViewport.cpp

Return Value

TRUE if successful; otherwise FALSE.

Parameters

pComp

Pointer to a component.

Comments

This function iterates across the tree beginning with the given component and calls CODWndComponent::CreateWnd on the each component derived from CODWndComponent class. The window returned by MvcViewport::GetWnd is used as the parent window for the component.