Implementation of the new monitor abstraction.
[wine.git] / include / tab.h
blobe3bfb45fac1d3c758497fda307b1e5f2d97ec01d
1 /*
2 * Tab control class extra info
4 * Copyright 1998 Anders Carlsson
5 */
7 #ifndef __WINE_TAB_H
8 #define __WINE_TAB_H
10 typedef struct tagTAB_ITEM
12 UINT32 mask;
13 DWORD dwState;
14 LPSTR pszText;
15 INT32 cchTextMax;
16 INT32 iImage;
17 LPARAM lParam;
18 RECT32 rect; /* bounding rectangle of the item */
19 } TAB_ITEM;
21 typedef struct tagTAB_INFO
23 UINT32 uNumItem; /* number of tab items */
24 INT32 nHeight; /* height of the tab row */
25 HFONT32 hFont; /* handle to the current font */
26 HCURSOR32 hcurArrow; /* handle to the current cursor */
27 HIMAGELIST himl; /* handle to a image list (may be 0) */
28 HWND32 hwndToolTip; /* handle to tab's tooltip */
29 UINT32 cchTextMax;
30 INT32 iSelected; /* the currently selected item */
31 INT32 uFocus; /* item which has the focus */
32 TAB_ITEM *items; /* pointer to an array of TAB_ITEM's */
33 RECT32 rect;
34 BOOL32 DoRedraw; /* flag for redrawing when tab contents is changed*/
35 } TAB_INFO;
38 extern VOID TAB_Register (VOID);
39 extern VOID TAB_Unregister (VOID);
41 #endif /* __WINE_TAB_H */