Microsoft Windows CE 3.0  

TBBUTTON

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This structure contains information about a button in a toolbar.

typedef struct _TBBUTTON {
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 the button image.
idCommand
Command identifier associated with the button. This identifier is used in a WM_COMMAND message when the button is chosen.
fsState
Button state flags. It can be a combination of the values listed in Toolbar Button States.
fsStyle
Button style. It can be a combination of the button style values listed in Toolbar Control Button Styles.
dwData
Specifies an application-defined value.
iString
Zero-based index of the button string.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

WM_COMMAND