CODViewport::DestroyChildrenWnds

BOOL CODViewport::DestroyChildrenWnds(CODComponent* pComp)

Destroys the window components 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::DestroyWnd on the each component derived from CODWndComponent class.