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