CToolbar.SetDisabledImageListmethod
Sets the image list that the toolbar control will use to display disabled buttons.
Syntax
FUNCTION SetDisabledImageList (BYVAL hToolbar AS HWND, BYVAL himlNewDisabled AS HIMAGELIST) AS HIMAGELIST
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
himlNewDisabled | Handle to the image list that will be set. |
Return value
Returns the handle to the image list previously used to display disabled buttons, or NULL if no image list was previously set.
Description
Sets the image list that the toolbar control will use to display disabled buttons.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:1115
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class