CToolbar.ButtonCountmethod
Retrieves a count of the buttons currently in the toolbar.
Syntax
FUNCTION ButtonCount (BYVAL hToolbar AS HWND) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. |
Return value
Returns the count of the buttons.
Description
Retrieves a count of the buttons currently in the toolbar.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:325
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class