Added a few missing imports.
[wine/hacks.git] / include / tooltips.h
bloba7cbcd03adc36e4ce992b1c1cb2d79204f60a4d0
1 /*
2 * Tool tips class extra info
4 * Copyright 1998 Eric Kohl
5 */
7 #ifndef __WINE_TOOLTIPS_H
8 #define __WINE_TOOLTIPS_H
10 #include "commctrl.h"
11 #include "windef.h"
12 #include "wingdi.h"
14 typedef struct tagTT_SUBCLASS_INFO
16 WNDPROC wpOrigProc;
17 HWND hwndToolTip;
18 UINT uRefCount;
19 } TT_SUBCLASS_INFO, *LPTT_SUBCLASS_INFO;
22 typedef struct tagTTTOOL_INFO
24 UINT uFlags;
25 HWND hwnd;
26 UINT uId;
27 RECT rect;
28 HINSTANCE hinst;
29 LPWSTR lpszText;
30 LPARAM lParam;
31 } TTTOOL_INFO;
34 typedef struct tagTOOLTIPS_INFO
36 WCHAR szTipText[INFOTIPSIZE];
37 BOOL bActive;
38 BOOL bTrackActive;
39 UINT uNumTools;
40 COLORREF clrBk;
41 COLORREF clrText;
42 HFONT hFont;
43 INT xTrackPos;
44 INT yTrackPos;
45 INT nMaxTipWidth;
46 INT nTool;
47 INT nCurrentTool;
48 INT nTrackTool;
49 INT nReshowTime;
50 INT nAutoPopTime;
51 INT nInitialTime;
52 RECT rcMargin;
53 BOOL bNotifyUnicode;
55 TTTOOL_INFO *tools;
56 } TOOLTIPS_INFO;
59 extern VOID TOOLTIPS_Register (VOID);
60 extern VOID TOOLTIPS_Unregister (VOID);
62 #endif /* __WINE_TOOLTIPS_H */