CToolbar.GetMaxSizemethod
Retrieves the total size of all of the visible buttons and separators in the toolbar.
Syntax
FUNCTION GetMaxSize (BYVAL hToolbar AS HWND, BYVAL psize AS SIZE PTR) AS BOOLEAN
FUNCTION GetMaxSize (BYVAL hToolbar AS HWND, BYREF sz AS SIZE) AS BOOLEAN
FUNCTION GetMaxSize (BYVAL hToolbar AS HWND) AS SIZE
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
psize | Pointer to a SIZE structure that receives the size of the items. | |
sz | A SIZE structure that receives the size of the items. |
Return value
Returns nonzero if successful, or zero otherwise.
Description
Retrieves the total size of all of the visible buttons and separators in the toolbar.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:643
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class