#ifndef T2DLL_T2TOOLHELPWND_H #define T2DLL_T2TOOLHELPWND_H #include "../common.h" enum { kToolHelpMode0 = 0, kToolHelpMode1 = 1, kToolHelpMode2 = 2 }; class AFX_CLASS_EXPORT T2ToolHelpWnd : public CFrameWnd { DECLARE_DYNCREATE(T2ToolHelpWnd) DECLARE_MESSAGE_MAP() public: T2ToolHelpWnd(); virtual ~T2ToolHelpWnd(); void OpenToolHelp(POINT& inPt, int inMode, const char* inStr1, const char* inStr2, T2ToolDef* inToolDef, int inValiation); void CloseToolHelp(); protected: afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnDestroy(); CFont mFont; CString mWndClass; CRect mRect; CRgn mRgn; BOOL mVisible; CString mHeader; CString mText; CString mComment; }; #endif