Added missing #include "config.h"
[wine/multimedia.git] / include / rebar.h
blob52ba2d7c0a76a84e66f8ecb22927fc67509ac250
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 UINT32 fStyle;
13 COLORREF clrFore;
14 COLORREF clrBack;
15 INT32 iImage;
16 HWND32 hwndChild;
17 UINT32 cxMinChild;
18 UINT32 cyMinChild;
19 UINT32 cx;
20 HBITMAP32 hbmBack;
21 UINT32 wID;
22 UINT32 cyChild;
23 UINT32 cyMaxChild;
24 UINT32 cyIntegral;
25 UINT32 cxIdeal;
26 LPARAM lParam;
27 UINT32 cxHeader;
29 UINT32 uMinHeight;
30 UINT32 fDraw; /* drawing flags */
31 RECT32 rcBand; /* calculated band rectangle */
32 RECT32 rcGripper; /* calculated gripper rectangle */
33 RECT32 rcCapImage; /* calculated caption image rectangle */
34 RECT32 rcCapText; /* calculated caption text rectangle */
35 RECT32 rcChild; /* calculated child rectangle */
37 LPSTR lpText;
38 HWND32 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 UINT32 uNumBands; /* number of bands in the rebar */
47 HWND32 hwndToolTip; /* handle to the tool tip control */
48 HWND32 hwndNotify; /* notification window (parent) */
49 HFONT32 hFont; /* handle to the rebar's font */
50 SIZE32 imageSize; /* image size (image list) */
52 SIZE32 calcSize; /* calculated rebar size */
53 BOOL32 bAutoResize; /* auto resize deadlock flag */
54 HCURSOR32 hcurArrow; /* handle to the arrow cursor */
55 HCURSOR32 hcurHorz; /* handle to the EW cursor */
56 HCURSOR32 hcurVert; /* handle to the NS cursor */
57 HCURSOR32 hcurDrag; /* handle to the drag cursor */
59 REBAR_BAND *bands; /* pointer to the array of rebar bands */
61 } REBAR_INFO;
64 extern VOID REBAR_Register (VOID);
65 extern VOID REBAR_Unregister (VOID);
67 #endif /* __WINE_REBAR_H */