source: trunk/include/win/tooltips.h@ 1036

Last change on this file since 1036 was 4, checked in by ktk, 26 years ago

Import

File size: 1.2 KB
Line 
1/* $Id: tooltips.h,v 1.1 1999-05-24 20:19:20 ktk Exp $ */
2
3/*
4 * Tool tips class extra info
5 *
6 * Copyright 1998 Eric Kohl
7 */
8
9#ifndef __WINE_TOOLTIPS_H
10#define __WINE_TOOLTIPS_H
11
12
13typedef struct tagTT_SUBCLASS_INFO
14{
15 WNDPROC wpOrigProc;
16 HWND hwndToolTip;
17 UINT uRefCount;
18} TT_SUBCLASS_INFO, *LPTT_SUBCLASS_INFO;
19
20
21typedef struct tagTTTOOL_INFO
22{
23 UINT uFlags;
24 HWND hwnd;
25 UINT uId;
26 RECT rect;
27 HINSTANCE hinst;
28 LPWSTR lpszText;
29 LPARAM lParam;
30} TTTOOL_INFO;
31
32
33typedef struct tagTOOLTIPS_INFO
34{
35 WCHAR szTipText[INFOTIPSIZE];
36 BOOL bActive;
37 BOOL bTrackActive;
38 UINT uNumTools;
39 COLORREF clrBk;
40 COLORREF clrText;
41 HFONT hFont;
42 INT xTrackPos;
43 INT yTrackPos;
44 INT nMaxTipWidth;
45 INT nTool;
46 INT nOldTool;
47 INT nCurrentTool;
48 INT nTrackTool;
49 INT nAutomaticTime;
50 INT nReshowTime;
51 INT nAutoPopTime;
52 INT nInitialTime;
53 RECT rcMargin;
54
55 TTTOOL_INFO *tools;
56} TOOLTIPS_INFO;
57
58
59extern VOID TOOLTIPS_Register (VOID);
60extern VOID TOOLTIPS_Unregister (VOID);
61
62#endif /* __WINE_TOOLTIPS_H */
Note: See TracBrowser for help on using the repository browser.