Commit b075ce5f authored by Eric Kohl's avatar Eric Kohl Committed by Alexandre Julliard

Improved the rebar control.

parent 9feb5319
......@@ -26,23 +26,42 @@ typedef struct tagREBAR_BAND
LPARAM lParam;
UINT32 cxHeader;
UINT32 uMinHeight;
UINT32 fDraw; /* drawing flags */
RECT32 rcBand; /* calculated band rectangle */
RECT32 rcGripper; /* calculated gripper rectangle */
RECT32 rcCapImage; /* calculated caption image rectangle */
RECT32 rcCapText; /* calculated caption text rectangle */
RECT32 rcChild; /* calculated child rectangle */
LPSTR lpText;
HWND32 hwndPrevParent;
} REBAR_BAND;
typedef struct tagREBAR_INFO
{
COLORREF clrBk; /* background color */
COLORREF clrText; /* text color */
HIMAGELIST himl; /* handle to imagelist */
UINT32 uNumBands; /* number of bands in the rebar */
HWND32 hwndToolTip; /* handle to the tool tip control */
HWND32 hwndNotify; /* notification window (parent) */
HFONT32 hFont; /* handle to the rebar's font */
SIZE32 imageSize; /* image size (image list) */
SIZE32 calcSize; /* calculated rebar size */
BOOL32 bAutoResize; /* auto resize deadlock flag */
HCURSOR32 hcurArrow; /* handle to the arrow cursor */
HCURSOR32 hcurHorz; /* handle to the EW cursor */
HCURSOR32 hcurVert; /* handle to the NS cursor */
HCURSOR32 hcurDrag; /* handle to the drag cursor */
REBAR_BAND *bands; /* pointer to the array of rebar bands */
} REBAR_INFO;
extern void REBAR_Register (void);
extern VOID REBAR_Register (VOID);
extern VOID REBAR_Unregister (VOID);
#endif /* __WINE_REBAR_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment