TBBUTTONTBBUTTON*
*



Contents  *



Index  *Topic Contents
*Previous Topic: TBADDBITMAP
*Next Topic: TBBUTTONINFO

TBBUTTON


typedef struct _TBBUTTON {
    int iBitmap; 
    int idCommand; 
    BYTE fsState; 
    BYTE fsStyle; 
    DWORD dwData; 
    int iString; 
} TBBUTTON, NEAR* PTBBUTTON, FAR* LPTBBUTTON; 

Contains information about a button in a toolbar.

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. This member can be a combination of the values listed in Toolbar Button States.
fsStyle
Button style. This member can be a combination of the button style values listed in Toolbar Control and Button Styles.
dwData
Application-defined value.
iString
Zero-based index of the button string.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.