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