New stubs PrivateExtractIconEx[AW], PrivateExtractIconsW,
[wine/multimedia.git] / include / toolbar.h
blob51d4663b82f58e5750d3f4f132aa930fddef4c21
1 /*
2 * Toolbar class extra info
4 * Copyright 1998 Eric Kohl
5 */
7 #ifndef __WINE_TOOLBAR_H
8 #define __WINE_TOOLBAR_H
11 typedef struct tagTBUTTON_INFO
13 INT32 iBitmap;
14 INT32 idCommand;
15 BYTE fsState;
16 BYTE fsStyle;
17 DWORD dwData;
18 INT32 iString;
20 INT32 nRow;
21 RECT32 rect;
22 } TBUTTON_INFO;
25 typedef struct tagTOOLBAR_INFO
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 nRows; /* number of button rows */
36 INT32 nMaxTextRows; /* maximum number of text rows */
37 INT32 cxMin; /* minimum button width */
38 INT32 cxMax; /* maximum button width */
39 INT32 nNumButtons; /* number of buttons */
40 INT32 nNumBitmaps; /* number of bitmaps */
41 INT32 nNumStrings; /* number of strings */
42 BOOL32 bUnicode; /* ASCII (FALSE) or Unicode (TRUE)? */
43 BOOL32 bCaptured; /* mouse captured? */
44 INT32 nButtonDown;
45 INT32 nOldHit;
46 INT32 nHotItem; /* index of the "hot" item */
47 HFONT32 hFont; /* text font */
48 HIMAGELIST himlDef; /* default image list */
49 HIMAGELIST himlHot; /* hot image list */
50 HIMAGELIST himlDis; /* disabled image list */
51 HWND32 hwndToolTip; /* handle to tool tip control */
52 HWND32 hwndNotify; /* handle to the window that gets notifications */
53 BOOL32 bTransparent; /* background transparency flag */
54 BOOL32 bAutoSize; /* auto size deadlock indicator */
55 DWORD dwExStyle; /* extended toolbar style */
56 DWORD dwDTFlags; /* DrawText flags */
58 COLORREF clrInsertMark; /* insert mark color */
59 RECT32 rcBound; /* bounding rectangle */
61 TBUTTON_INFO *buttons; /* pointer to button array */
62 CHAR **strings;
63 } TOOLBAR_INFO;
66 extern void TOOLBAR_Register (void);
68 #endif /* __WINE_TOOLBAR_H */