CControlBar::GetCount

int GetCount( ) const;

Return Value

The number of non-HWND items on the CControlBar object. This function returns 0 for a CDialogBar object.

Remarks

Returns the number of non-HWND items on the CControlBar object. The type of the item depends on the derived object: panes for CStatusBar objects, and buttons and separators for CToolBar objects.

CControlBar OverviewClass MembersHierarchy Chart

See Also   CToolBar::SetButtons, CStatusBar::SetIndicators, CStatusBar, CToolBar, CDialogBar