2 * Toolbar class extra info
4 * Copyright 1998 Eric Kohl
7 #ifndef __WINE_TOOLBAR_H
8 #define __WINE_TOOLBAR_H
13 typedef struct tagTBUTTON_INFO
28 typedef struct tagTOOLBAR_INFO
30 DWORD dwStructSize
; /* size of TBBUTTON struct */
31 INT nHeight
; /* height of the toolbar */
32 INT nWidth
; /* width of the toolbar */
38 INT nRows
; /* number of button rows */
39 INT nMaxTextRows
; /* maximum number of text rows */
40 INT cxMin
; /* minimum button width */
41 INT cxMax
; /* maximum button width */
42 INT nNumButtons
; /* number of buttons */
43 INT nNumBitmaps
; /* number of bitmaps */
44 INT nNumStrings
; /* number of strings */
45 BOOL bUnicode
; /* ASCII (FALSE) or Unicode (TRUE)? */
46 BOOL bCaptured
; /* mouse captured? */
49 INT nHotItem
; /* index of the "hot" item */
50 HFONT hFont
; /* text font */
51 HIMAGELIST himlInt
; /* image list created internally */
52 HIMAGELIST himlDef
; /* default image list */
53 HIMAGELIST himlHot
; /* hot image list */
54 HIMAGELIST himlDis
; /* disabled image list */
55 HWND hwndToolTip
; /* handle to tool tip control */
56 HWND hwndNotify
; /* handle to the window that gets notifications */
57 BOOL bTransparent
; /* background transparency flag */
58 BOOL bAutoSize
; /* auto size deadlock indicator */
59 BOOL bAnchor
; /* anchor highlight enabled */
60 DWORD dwExStyle
; /* extended toolbar style */
61 DWORD dwDTFlags
; /* DrawText flags */
63 COLORREF clrInsertMark
; /* insert mark color */
64 RECT rcBound
; /* bounding rectangle */
67 TBUTTON_INFO
*buttons
; /* pointer to button array */
68 LPWSTR
*strings
; /* pointer to string array */
72 extern BOOL WINAPI
TBARCUST_DialogProc (HWND
, UINT
, WPARAM
, LPARAM
);
74 extern VOID
TOOLBAR_Register (VOID
);
75 extern VOID
TOOLBAR_Unregister (VOID
);
77 #endif /* __WINE_TOOLBAR_H */