wine/include/tooltips.h
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00

65 lines
1.2 KiB
C

/*
* Tool tips class extra info
*
* Copyright 1998 Eric Kohl
*/
#ifndef __WINE_TOOLTIPS_H
#define __WINE_TOOLTIPS_H
#include "commctrl.h"
#include "windef.h"
#include "wingdi.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;
BOOL bNotifyUnicode;
TTTOOL_INFO *tools;
} TOOLTIPS_INFO;
extern VOID TOOLTIPS_Register (VOID);
extern VOID TOOLTIPS_Unregister (VOID);
#endif /* __WINE_TOOLTIPS_H */