CTreeCtrl::Expand

BOOL Expand( HTREEITEM hItem, UINT nCode );

Return Value

Nonzero if successful; otherwise 0.

Parameters

hItem

Handle of the tree item being expanded.

nCode

A flag indicating the type of action to be taken. This flag can have one of the following values:

Remarks

Call this function to expand or collapse the list of child items, if any, associated with the given parent item.

CTreeCtrl OverviewClass MembersHierarchy Chart

See Also   CTreeCtrl::EnsureVisible