Export (0) Print
Expand All
Expand Minimize

TB_ENABLEBUTTON message

Enables or disables the specified button in a toolbar.

Parameters

wParam

Command identifier of the button to enable or disable.

lParam

The LOWORD is a BOOL that indicates whether to enable or disable the specified button. If TRUE, the button is enabled. If FALSE, the button is disabled.

Return value

Returns TRUE if successful, or FALSE otherwise.

Remarks

When a button has been enabled, it can be pressed and checked.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft