CToolbar.GetHotItemmethod
Retrieves the index of the hot item in a toolbar.
Syntax
FUNCTION GetHotItem (BYVAL hToolbar AS HWND) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. |
Return value
Returns the index of the hot item, or -1 if no hot item is set. Toolbar controls that do not have the TBSTYLE_FLAT style do not have hot items.
Description
Retrieves the index of the hot item in a toolbar.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:583
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class