CToolbar.DisableButtonmethod
Disables the specified button in a toolbar.
Syntax
FUNCTION DisableButton (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
idButton | Command identifier of the button to disable. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Disables the specified button in a toolbar.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:406
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class