Implemented ExtractIconEx16, added some consts to ExtractIconEx*.
[wine] / include / rebar.h
1 /*
2  * Rebar class extra info
3  *
4  * Copyright 1998 Eric Kohl
5  */
6
7 #ifndef __WINE_REBAR_H
8 #define __WINE_REBAR_H
9
10 typedef struct tagREBAR_BAND
11 {
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;
28
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 */
36
37     LPWSTR    lpText;
38     HWND32    hwndPrevParent;
39 } REBAR_BAND;
40
41 typedef struct tagREBAR_INFO
42 {
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) */
51
52     SIZE32     calcSize;    /* calculated rebar size */
53     BOOL32     bAutoResize; /* auto resize deadlock flag */
54     BOOL32     bUnicode;    /* Unicode flag */
55     HCURSOR32  hcurArrow;   /* handle to the arrow cursor */
56     HCURSOR32  hcurHorz;    /* handle to the EW cursor */
57     HCURSOR32  hcurVert;    /* handle to the NS cursor */
58     HCURSOR32  hcurDrag;    /* handle to the drag cursor */
59
60     REBAR_BAND *bands;      /* pointer to the array of rebar bands */
61
62 } REBAR_INFO;
63
64
65 extern VOID REBAR_Register (VOID);
66 extern VOID REBAR_Unregister (VOID);
67
68 #endif  /* __WINE_REBAR_H */