Added a default program option in wine.conf in section [programs] key
[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
11 typedef struct tagTT_SUBCLASS_INFO
12 {
13     WNDPROC32 wpOrigProc;
14     HWND32    hwndToolTip;
15     UINT32    uRefCount;
16 } TT_SUBCLASS_INFO, *LPTT_SUBCLASS_INFO;
17
18
19 typedef struct tagTTTOOL_INFO
20 {
21     UINT32 uFlags;
22     HWND32 hwnd;
23     UINT32 uId;
24     RECT32 rect;
25     HINSTANCE32 hinst;
26     LPSTR  lpszText;
27     LPARAM lParam;
28 } TTTOOL_INFO; 
29
30
31 typedef struct tagTOOLTIPS_INFO
32 {
33     CHAR       szTipText[INFOTIPSIZE];
34     BOOL32     bActive;
35     BOOL32     bTrackActive;
36     UINT32     uNumTools;
37     COLORREF   clrBk;
38     COLORREF   clrText;
39     HFONT32    hFont;
40     INT32      xTrackPos;
41     INT32      yTrackPos;
42     INT32      nMaxTipWidth;
43     INT32      nTool;
44     INT32      nOldTool;
45     INT32      nCurrentTool;
46     INT32      nTrackTool;
47     INT32      nAutomaticTime;
48     INT32      nReshowTime;
49     INT32      nAutoPopTime;
50     INT32      nInitialTime;
51     RECT32     rcMargin;
52
53     TTTOOL_INFO *tools;
54 } TOOLTIPS_INFO;
55
56
57 extern VOID TOOLTIPS_Register (VOID);
58 extern VOID TOOLTIPS_Unregister (VOID);
59
60 #endif  /* __WINE_TOOLTIPS_H */