CToolbar.GetHotImageListmethod
Retrieves the image list that a toolbar control uses to display hot buttons.
Syntax
FUNCTION GetHotImageList (BYVAL hToolbar AS HWND) AS HIMAGELIST
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. |
Return value
Returns the handle to the image list that the control uses to display hot buttons, or NULL if no hot image list is set.
Description
Retrieves the image list that a toolbar control uses to display hot buttons.
Remarks
A button is hot when the cursor is over it. Toolbar controls must have the TBSTYLE_FLAT or TBSTYLE_LIST style to have hot items.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:565
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class