Add a few more 32->16 Escape conversions.
[wine/hacks.git] / include / rebar.h
blobf704f311414a362c4858ccb1864acc685af58e84
1 /*
2 * Rebar class extra info
4 * Copyright 1998 Eric Kohl
5 */
7 #ifndef __WINE_REBAR_H
8 #define __WINE_REBAR_H
10 typedef struct tagREBAR_BAND
12 UINT fStyle;
13 COLORREF clrFore;
14 COLORREF clrBack;
15 INT iImage;
16 HWND hwndChild;
17 UINT cxMinChild;
18 UINT cyMinChild;
19 UINT cx;
20 HBITMAP hbmBack;
21 UINT wID;
22 UINT cyChild;
23 UINT cyMaxChild;
24 UINT cyIntegral;
25 UINT cxIdeal;
26 LPARAM lParam;
27 UINT cxHeader;
29 UINT uMinHeight;
30 UINT fDraw; /* drawing flags */
31 RECT rcBand; /* calculated band rectangle */
32 RECT rcGripper; /* calculated gripper rectangle */
33 RECT rcCapImage; /* calculated caption image rectangle */
34 RECT rcCapText; /* calculated caption text rectangle */
35 RECT rcChild; /* calculated child rectangle */
37 LPWSTR lpText;
38 HWND hwndPrevParent;
39 } REBAR_BAND;
41 typedef struct tagREBAR_INFO
43 COLORREF clrBk; /* background color */
44 COLORREF clrText; /* text color */
45 HIMAGELIST himl; /* handle to imagelist */
46 UINT uNumBands; /* number of bands in the rebar */
47 HWND hwndToolTip; /* handle to the tool tip control */
48 HWND hwndNotify; /* notification window (parent) */
49 HFONT hFont; /* handle to the rebar's font */
50 SIZE imageSize; /* image size (image list) */
52 SIZE calcSize; /* calculated rebar size */
53 BOOL bAutoResize; /* auto resize deadlock flag */
54 BOOL bUnicode; /* Unicode flag */
55 HCURSOR hcurArrow; /* handle to the arrow cursor */
56 HCURSOR hcurHorz; /* handle to the EW cursor */
57 HCURSOR hcurVert; /* handle to the NS cursor */
58 HCURSOR hcurDrag; /* handle to the drag cursor */
60 REBAR_BAND *bands; /* pointer to the array of rebar bands */
62 } REBAR_INFO;
65 extern VOID REBAR_Register (VOID);
66 extern VOID REBAR_Unregister (VOID);
68 #endif /* __WINE_REBAR_H */