Added support for mappings with no associated file.
[wine] / include / tab.h
1 /*
2  * Tab control class extra info
3  *
4  * Copyright 1998 Anders Carlsson
5  */
6
7 #ifndef __WINE_TAB_H  
8 #define __WINE_TAB_H
9
10 typedef struct tagTAB_ITEM
11 {
12         UINT  mask;
13         DWORD   dwState;
14     LPSTR       pszText;
15         INT   cchTextMax;
16     INT iImage;
17     LPARAM      lParam;
18     RECT        rect;           /* bounding rectangle of the item */
19 } TAB_ITEM;
20
21 typedef struct tagTAB_INFO
22 {
23     UINT            uNumItem;   /* number of tab items */
24     INT     nHeight;    /* height of the tab row */
25     HFONT           hFont;              /* handle to the current font */
26     HCURSOR     hcurArrow;      /* handle to the current cursor */
27         HIMAGELIST  himl;       /* handle to a image list (may be 0) */
28         HWND            hwndToolTip; /* handle to tab's tooltip */
29         UINT            cchTextMax;
30     INT     iSelected;  /* the currently selected item */
31     INT     uFocus;             /* item which has the focus */
32     TAB_ITEM    *items;         /* pointer to an array of TAB_ITEM's */
33     RECT            rect;
34     BOOL            DoRedraw;   /* flag for redrawing when tab contents is changed*/
35 } TAB_INFO;
36
37
38 extern VOID TAB_Register (VOID);
39 extern VOID TAB_Unregister (VOID);
40
41 #endif  /* __WINE_TAB_H */