Removed check for union semun; cleaned up a bit.
[wine/multimedia.git] / include / tooltips.h
blobd932f7c072458d6e69c160348c2c259a8657c55e
1 /*
2 * Tool tips class extra info
4 * Copyright 1998 Eric Kohl
5 */
7 #ifndef __WINE_TOOLTIPS_H
8 #define __WINE_TOOLTIPS_H
11 typedef struct tagTT_SUBCLASS_INFO
13 WNDPROC wpOrigProc;
14 HWND hwndToolTip;
15 UINT uRefCount;
16 } TT_SUBCLASS_INFO, *LPTT_SUBCLASS_INFO;
19 typedef struct tagTTTOOL_INFO
21 UINT uFlags;
22 HWND hwnd;
23 UINT uId;
24 RECT rect;
25 HINSTANCE hinst;
26 LPWSTR lpszText;
27 LPARAM lParam;
28 } TTTOOL_INFO;
31 typedef struct tagTOOLTIPS_INFO
33 WCHAR szTipText[INFOTIPSIZE];
34 BOOL bActive;
35 BOOL bTrackActive;
36 UINT uNumTools;
37 COLORREF clrBk;
38 COLORREF clrText;
39 HFONT hFont;
40 INT xTrackPos;
41 INT yTrackPos;
42 INT nMaxTipWidth;
43 INT nTool;
44 INT nOldTool;
45 INT nCurrentTool;
46 INT nTrackTool;
47 INT nAutomaticTime;
48 INT nReshowTime;
49 INT nAutoPopTime;
50 INT nInitialTime;
51 RECT rcMargin;
53 TTTOOL_INFO *tools;
54 } TOOLTIPS_INFO;
57 extern VOID TOOLTIPS_Register (VOID);
58 extern VOID TOOLTIPS_Unregister (VOID);
60 #endif /* __WINE_TOOLTIPS_H */