Improved the rebar control.

This commit is contained in:
Eric Kohl 1998-10-24 10:47:25 +00:00 committed by Alexandre Julliard
parent 9feb53191d
commit b075ce5fe4
2 changed files with 798 additions and 39 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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 */
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) */
REBAR_BAND *bands; /* pointer to the array of rebar bands */
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 */