CToolbar.SetHotImageListmethod
Sets the image list that the toolbar control will use to display hot buttons.
Syntax
FUNCTION SetHotImageList (BYVAL hToolbar AS HWND, BYVAL himlNewHot AS HIMAGELIST) AS HIMAGELIST
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
himlNewHot | Handle to the image list that will be set. |
Return value
Returns the handle to the image list previously used to display hot buttons, or NULL if no image list was previously set.
Description
Sets the image list that the toolbar control will use 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:1105
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class