Partager via


TB_GETSTATE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message retrieves information about the state of the specified button in a toolbar, such as whether it is enabled, pressed, or checked.

Syntax

TB_GETSTATE wParam = (WPARAM) idButton; 
    lParam = 0;

Parameters

  • idButton
    Command identifier of the button for which to retrieve information.
  • lParam
    Not used.

Return Value

The button state information indicates success. –1 indicates failure. The button state information can be a combination of values. For information about toolbar button state values, see Toolbar Controls Notifications.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Toolbar Controls Messages