Added tracking support and fixed loading of resource strings.
[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     UINT32      mask;
13     UINT32      lpReserved1;
14     UINT32      lpReserved2;
15     LPSTR       pszText;
16     INT32       cchTextMax;
17     INT32       iImage;
18     LPARAM      lParam;
19     RECT32      rect;           /* bounding rectangle of the item */
20 } TAB_ITEM;
21
22 typedef struct tagTAB_INFO
23 {
24     UINT32      uNumItem;       /* number of tab items */
25     INT32       nHeight;        /* height of the tab row */
26     HFONT32     hFont;          /* handle to the current font */
27     HCURSOR32   hcurArrow;      /* handle to the current cursor */
28     INT32       iSelected;      /* the currently selected item */
29     TAB_ITEM    *items;         /* pointer to an array of TAB_ITEM's */
30     RECT32      rect;
31 } TAB_INFO;
32
33
34 extern void TAB_Register (void);
35
36 #endif  /* __WINE_TAB_H */