| 1 | /* $Id: rebar.h,v 1.4 2000-03-18 16:10:55 cbratschi 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 | COMCTL32_HEADER header; | 
|---|
| 15 |  | 
|---|
| 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; | 
|---|
| 32 |  | 
|---|
| 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 */ | 
|---|
| 40 |  | 
|---|
| 41 | LPWSTR  lpText; | 
|---|
| 42 | HWND    hwndPrevParent; | 
|---|
| 43 | } REBAR_BAND; | 
|---|
| 44 |  | 
|---|
| 45 | typedef struct tagREBAR_INFO | 
|---|
| 46 | { | 
|---|
| 47 | COMCTL32_HEADER header; | 
|---|
| 48 |  | 
|---|
| 49 | COLORREF   clrBk;       /* background color */ | 
|---|
| 50 | COLORREF   clrText;     /* text color */ | 
|---|
| 51 | HIMAGELIST himl;        /* handle to imagelist */ | 
|---|
| 52 | UINT     uNumBands;   /* number of bands in the rebar */ | 
|---|
| 53 | HWND     hwndToolTip; /* handle to the tool tip control */ | 
|---|
| 54 | HFONT    hFont;       /* handle to the rebar's font */ | 
|---|
| 55 | SIZE     imageSize;   /* image size (image list) */ | 
|---|
| 56 |  | 
|---|
| 57 | SIZE     calcSize;    /* calculated rebar size */ | 
|---|
| 58 | BOOL     bAutoResize; /* auto resize deadlock 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 */ | 
|---|
| 63 |  | 
|---|
| 64 | REBAR_BAND *bands;      /* pointer to the array of rebar bands */ | 
|---|
| 65 | } REBAR_INFO; | 
|---|
| 66 |  | 
|---|
| 67 |  | 
|---|
| 68 | extern VOID REBAR_Register (VOID); | 
|---|
| 69 | extern VOID REBAR_Unregister (VOID); | 
|---|
| 70 |  | 
|---|
| 71 | #endif  /* __WINE_REBAR_H */ | 
|---|