CToolbar.MarkButtonmethod
Sets the highlight state of a given button in a toolbar control.
Syntax
FUNCTION MarkButton (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG, BYVAL fHighlight AS SHORT) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
idButton | Command identifier for a toolbar button. | |
fHighlight | TRUE to highlight the button; FALSE to set the button to its default state. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Sets the highlight state of a given button in a toolbar control.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:944
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class