CToolbar.EnableButtonmethod
Enables the specified button in a toolbar.
Syntax
FUNCTION EnableButton (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 enable. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Enables the specified button in a toolbar.
Remarks
When a button has been enabled, it can be pressed and checked.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:397
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class