37 lines
810 B
C
37 lines
810 B
C
/*
|
|
* Tab control class extra info
|
|
*
|
|
* Copyright 1998 Anders Carlsson
|
|
*/
|
|
|
|
#ifndef __WINE_TAB_H
|
|
#define __WINE_TAB_H
|
|
|
|
typedef struct tagTAB_ITEM
|
|
{
|
|
UINT32 mask;
|
|
UINT32 lpReserved1;
|
|
UINT32 lpReserved2;
|
|
LPSTR pszText;
|
|
INT32 cchTextMax;
|
|
INT32 iImage;
|
|
LPARAM lParam;
|
|
RECT32 rect; /* bounding rectangle of the item */
|
|
} TAB_ITEM;
|
|
|
|
typedef struct tagTAB_INFO
|
|
{
|
|
UINT32 uNumItem; /* number of tab items */
|
|
INT32 nHeight; /* height of the tab row */
|
|
HFONT32 hFont; /* handle to the current font */
|
|
HCURSOR32 hcurArrow; /* handle to the current cursor */
|
|
INT32 iSelected; /* the currently selected item */
|
|
TAB_ITEM *items; /* pointer to an array of TAB_ITEM's */
|
|
RECT32 rect;
|
|
} TAB_INFO;
|
|
|
|
|
|
extern void TAB_Register (void);
|
|
|
|
#endif /* __WINE_TAB_H */
|