Started implementing date/time common control.
[wine] / include / tooltips.h
1 /*
2  * Tool tips class extra info
3  *
4  * Copyright 1998 Eric Kohl
5  */
6
7 #ifndef __WINE_TOOLTIPS_H
8 #define __WINE_TOOLTIPS_H
9
10 #include "commctrl.h"
11 #include "windef.h"
12 #include "wingdi.h"
13
14 typedef struct tagTT_SUBCLASS_INFO
15 {
16     WNDPROC wpOrigProc;
17     HWND    hwndToolTip;
18     UINT    uRefCount;
19 } TT_SUBCLASS_INFO, *LPTT_SUBCLASS_INFO;
20
21
22 typedef struct tagTTTOOL_INFO
23 {
24     UINT      uFlags;
25     HWND      hwnd;
26     UINT      uId;
27     RECT      rect;
28     HINSTANCE hinst;
29     LPWSTR      lpszText;
30     LPARAM      lParam;
31 } TTTOOL_INFO; 
32
33
34 typedef struct tagTOOLTIPS_INFO
35 {
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;
56
57     TTTOOL_INFO *tools;
58 } TOOLTIPS_INFO;
59
60
61 extern VOID TOOLTIPS_Register (VOID);
62 extern VOID TOOLTIPS_Unregister (VOID);
63
64 #endif  /* __WINE_TOOLTIPS_H */