CToolbar.UncheckButtonmethod
Unchecks a given button in a toolbar.
Syntax
FUNCTION UncheckButton (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG) AS BOOLEAN
Also documented as
CheckButton — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
idButton | Command identifier of the button to check. | |
fCheck | If TRUE, the check is added. If FALSE, the check is removed. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Checks or unchecks a given button in a toolbar.
Remarks
When a button is checked, it is displayed in the pressed state.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:361
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class