2 * Toolbar class extra info
4 * Copyright 1998 Eric Kohl
7 #ifndef __WINE_TOOLBAR_H
8 #define __WINE_TOOLBAR_H
11 typedef struct tagTBUTTON_INFO
26 typedef struct tagTOOLBAR_INFO
28 DWORD dwStructSize
; /* size of TBBUTTON struct */
29 INT nHeight
; /* height of the toolbar */
30 INT nWidth
; /* width of the toolbar */
36 INT nRows
; /* number of button rows */
37 INT nMaxTextRows
; /* maximum number of text rows */
38 INT cxMin
; /* minimum button width */
39 INT cxMax
; /* maximum button width */
40 INT nNumButtons
; /* number of buttons */
41 INT nNumBitmaps
; /* number of bitmaps */
42 INT nNumStrings
; /* number of strings */
43 BOOL bUnicode
; /* ASCII (FALSE) or Unicode (TRUE)? */
44 BOOL bCaptured
; /* mouse captured? */
47 INT nHotItem
; /* index of the "hot" item */
48 HFONT hFont
; /* text font */
49 HIMAGELIST himlStd
; /* standard image list for TB_ADDBITMAP command*/
50 HIMAGELIST himlDef
; /* default image list for TB_SETIMAGELIST*/
51 HIMAGELIST himlHot
; /* hot image list */
52 HIMAGELIST himlDis
; /* disabled image list */
53 HWND hwndToolTip
; /* handle to tool tip control */
54 HWND hwndNotify
; /* handle to the window that gets notifications */
55 BOOL bTransparent
; /* background transparency flag */
56 BOOL bAutoSize
; /* auto size deadlock indicator */
57 DWORD dwExStyle
; /* extended toolbar style */
58 DWORD dwDTFlags
; /* DrawText flags */
60 COLORREF clrInsertMark
; /* insert mark color */
61 RECT rcBound
; /* bounding rectangle */
63 TBUTTON_INFO
*buttons
; /* pointer to button array */
64 LPWSTR
*strings
; /* pointer to string array */
68 extern VOID
TOOLBAR_Register (VOID
);
69 extern VOID
TOOLBAR_Unregister (VOID
);
71 #endif /* __WINE_TOOLBAR_H */