다음을 통해 공유


TB_SETSTATE

This message sets the state for the specified button in a toolbar.

TB_SETSTATE wParam = (WPARAM) idButton; 
  lParam = (LPARAM)MAKELONG(fState,0); 

Parameters

  • idButton
    Command identifier of the button.
  • fState
    State flags. This parameter can be a combination of values. For information about toolbar button state values, see Toolbar Controls Notifications.

Return Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

Toolbar Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.