TB_ENABLEBUTTONTB_ENABLEBUTTON*
*Contents  *Index  *Topic Contents
*Previous Topic: TB_DELETEBUTTON
*Next Topic: TB_GETANCHORHIGHLIGHT

TB_ENABLEBUTTON


TB_ENABLEBUTTON 
    wParam = (WPARAM) idButton; 
    lParam = (LPARAM) MAKELONG(fEnable, 0); 

Enables or disables the specified button in a toolbar.

idButton
Command identifier of the button to enable or disable.
fEnable
Enable flag. If this parameter is TRUE, the button is enabled. If it is FALSE, the button is disabled.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.