mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +00:00
1ed4ecffa8
Removed warnings. Made the include files self-sufficient. Some Solaris fixes.
64 lines
1.2 KiB
C
64 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 */
|