Moved idle event handling to the server.
[wine.git] / include / tooltips.h
bloba067a58b30aa9ba2b68a172237b324f4650315b6
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 nOldTool;
48 INT nCurrentTool;
49 INT nTrackTool;
50 INT nAutomaticTime;
51 INT nReshowTime;
52 INT nAutoPopTime;
53 INT nInitialTime;
54 RECT rcMargin;
55 BOOL bNotifyUnicode;
57 TTTOOL_INFO *tools;
58 } TOOLTIPS_INFO;
61 extern VOID TOOLTIPS_Register (VOID);
62 extern VOID TOOLTIPS_Unregister (VOID);
64 #endif /* __WINE_TOOLTIPS_H */