Share via


TB_SETSTATE (Windows CE 5.0)

Send Feedback

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.