Release 980628
[wine] / include / toolbar.h
1 /*
2  * Toolbar class extra info
3  *
4  * Copyright 1998 Eric Kohl
5  */
6
7 #ifndef __WINE_TOOLBAR_H
8 #define __WINE_TOOLBAR_H
9
10
11 typedef struct tagTBUTTON_INFO
12 {
13     INT32 iBitmap;
14     INT32 idCommand;
15     BYTE  fsState;
16     BYTE  fsStyle;
17     DWORD dwData;
18     INT32 iString;
19
20     RECT32 rect;
21
22 } TBUTTON_INFO; 
23
24
25 typedef struct tagTOOLBAR_INFO
26 {
27     DWORD      dwStructSize;   /* size of TBBUTTON struct */
28     INT32      nHeight;        /* height of the toolbar */
29     INT32      nWidth;         /* width of the toolbar */
30     INT32      nButtonHeight;
31     INT32      nButtonWidth;
32     INT32      nBitmapHeight;
33     INT32      nBitmapWidth;
34     INT32      nIndent;
35     INT32      nMaxRows;        /* maximum number of rows */
36
37     INT32      nNumButtons;     /* number of buttons */
38     INT32      nNumBitmaps;     /* number of bitmaps */
39     INT32      nNumStrings;     /* number of strings */
40
41     BOOL32     bCaptured;
42     INT32      nButtonDown;
43     INT32      nOldHit;
44     INT32      nHotItem;        /* index of the "hot" item */
45
46     HIMAGELIST himlDef;         /* default image list */
47     HIMAGELIST himlHot;         /* hot image list */
48     HIMAGELIST himlDis;         /* disabled image list */
49     HWND32     hwndToolTip;     /* handle to tool tip control */
50     HWND32     hwndNotify;      /* handle to the window that gets notifications */
51     BOOL32     bTransparent;    /* background transparency flag */
52
53     TBUTTON_INFO *buttons;
54     CHAR         **strings;
55 } TOOLBAR_INFO;
56
57
58 extern void TOOLBAR_Register (void);
59
60 #endif  /* __WINE_TOOLBAR_H */