CToolbar.HideButtonmethod
Hides or shows the specified button in a toolbar.
Syntax
FUNCTION HideButton (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG, BYVAL fShow AS SHORT) AS BOOLEAN
FUNCTION HideButton (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG) AS BOOLEAN
Also documented as
UnhideButton — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
idButton | Command identifier of the button to hide or show. | |
fShow | TRUE to hidden the button or FALSE to show it. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Hides or shows the specified button in a toolbar.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:789
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class