Compartir a través de


CControlBar::GetCount

Returns the number of non-HWND items on the CControlBar object.

int GetCount( ) const;

Return Value

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

Remarks

The type of the item depends on the derived object: panes for CStatusBar objects, and buttons and separators for CToolBar objects.

Requirements

Header: afxext.h

See Also

Reference

CControlBar Class

Hierarchy Chart

CToolBar::SetButtons

CStatusBar::SetIndicators

CStatusBar Class

CToolBar Class

CDialogBar Class

Other Resources

CControlBar Members