TB_CHECKBUTTONTB_CHECKBUTTON*
*Contents  *Index  *Topic Contents
*Previous Topic: TB_CHANGEBITMAP
*Next Topic: TB_COMMANDTOINDEX

TB_CHECKBUTTON


TB_CHECKBUTTON 
    wParam = (WPARAM) idButton; 
    lParam = (LPARAM) MAKELONG(fCheck, 0); 

Checks or unchecks a given button in a toolbar.

idButton
Command identifier of the button to check.
fCheck
Check flag. If this parameter is TRUE, the check is added. If it is FALSE, the check is removed.

When a button is checked, it is displayed in the pressed state.


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