TBBUTTON  6NWA1B 

The TBBUTTON structure contains information about a button in a toolbar.

typedef struct _TBBUTTON {  \\ tbb

    int iBitmap;

    int idCommand;

    BYTE fsState;

    BYTE fsStyle;

    DWORD dwData;

    int iString;

} TBBUTTON, NEAR* PTBBUTTON, FAR* LPTBBUTTON;

typedef const TBBUTTON FAR* LPCTBBUTTON;

 

Members

iBitmap

Zero-based index of button image.

idCommand

Command identifier associated with the button. This identifier is used in a WM_COMMAND71V.3J message when the button is chosen. If the fsStyle member is the TBSTYLE_SEP value, this member must be zero.

fsState

Button state flags. This member can be a combination of the values listed in Toolbar Button States1W5E.FP.

fsStyle

Button style. This member can be a combination of values listed in Toolbar Button Styles1W624FP

dwData

Application-defined value.

iString

Zero-based index of button string.

 

See Also

WM_COMMAND