CToolbar.GetButtonTextLengthmethod
Retrieves the length of the display text of a button on a toolbar.
Syntax
FUNCTION GetButtonTextLength (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
idButton | Command identifier of the button whose text length is to be retrieved. |
Description
Retrieves the length of the display text of a button on a toolbar.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:1343
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class