wine/include/tooltips.h
1999-02-26 11:11:13 +00:00

60 lines
1.1 KiB
C

/*
* Tool tips class extra info
*
* Copyright 1998 Eric Kohl
*/
#ifndef __WINE_TOOLTIPS_H
#define __WINE_TOOLTIPS_H
typedef struct tagTT_SUBCLASS_INFO
{
WNDPROC wpOrigProc;
HWND hwndToolTip;
UINT uRefCount;
} TT_SUBCLASS_INFO, *LPTT_SUBCLASS_INFO;
typedef struct tagTTTOOL_INFO
{
UINT uFlags;
HWND hwnd;
UINT uId;
RECT rect;
HINSTANCE hinst;
LPWSTR lpszText;
LPARAM lParam;
} TTTOOL_INFO;
typedef struct tagTOOLTIPS_INFO
{
WCHAR szTipText[INFOTIPSIZE];
BOOL bActive;
BOOL bTrackActive;
UINT uNumTools;
COLORREF clrBk;
COLORREF clrText;
HFONT hFont;
INT xTrackPos;
INT yTrackPos;
INT nMaxTipWidth;
INT nTool;
INT nOldTool;
INT nCurrentTool;
INT nTrackTool;
INT nAutomaticTime;
INT nReshowTime;
INT nAutoPopTime;
INT nInitialTime;
RECT rcMargin;
TTTOOL_INFO *tools;
} TOOLTIPS_INFO;
extern VOID TOOLTIPS_Register (VOID);
extern VOID TOOLTIPS_Unregister (VOID);
#endif /* __WINE_TOOLTIPS_H */