CToolbar.ReleaseButtonmethod
Releases the specified button in a toolbar.
Syntax
FUNCTION ReleaseButton (BYVAL hToolbar AS HWND, BYVAL idButton AS LONG) AS BOOLEAN
Also documented as
PressButton — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
hToolbar | Handle to the toolbar control. | |
idButton | Command identifier of the button to press or release. | |
fPress | If TRUE, the button is pressed. If FALSE, the button is released. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Presses or releases the specified button in a toolbar.
Reference
- Include file
CToolbar.inc - Defined in AfxNova/CToolbar.inc:983
- Documented in Windows/WIndows Controls/CToolbar Class.md
- Topic: CToolbar Class