source: trunk/include/win/rebar.h@ 5200

Last change on this file since 5200 was 3152, checked in by cbratschi, 25 years ago

* empty log message *

File size: 2.0 KB
Line 
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
12typedef 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
45typedef 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
68extern VOID REBAR_Register (VOID);
69extern VOID REBAR_Unregister (VOID);
70
71#endif /* __WINE_REBAR_H */
Note: See TracBrowser for help on using the repository browser.