summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2ToolHelpWnd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2ToolHelpWnd.h')
-rw-r--r--src/T2DLL/T2ToolHelpWnd.h41
1 files changed, 22 insertions, 19 deletions
diff --git a/src/T2DLL/T2ToolHelpWnd.h b/src/T2DLL/T2ToolHelpWnd.h
index 13e95fa..c598b2d 100644
--- a/src/T2DLL/T2ToolHelpWnd.h
+++ b/src/T2DLL/T2ToolHelpWnd.h
@@ -1,28 +1,31 @@
#pragma once
#include "common.h"
-class T2ToolHelpWnd {
-public:
- static CObject* __stdcall CreateObject();
-protected:
- static CRuntimeClass* __stdcall _GetBaseClass();
+enum {
+ kToolHelpMode0 = 0,
+ kToolHelpMode1 = 1,
+ kToolHelpMode2 = 2
+};
+
+class AFX_EXT_CLASS T2ToolHelpWnd : public CFrameWnd {
+ DECLARE_DYNCREATE(T2ToolHelpWnd)
+ DECLARE_MESSAGE_MAP()
public:
- virtual CRuntimeClass* GetRuntimeClass() const;
T2ToolHelpWnd();
virtual ~T2ToolHelpWnd();
-protected:
- static const AFX_MSGMAP* __stdcall _GetBaseMessageMap();
- virtual const AFX_MSGMAP* GetMessageMap() const;
-public:
- void OpenToolHelp(POINT&, int, const char*, const char*, T2ToolDef*, int);
+ void OpenToolHelp(POINT& inPt, int inMode, const char* inStr1, const char* inStr2, T2ToolDef* inToolDef, int inValiation);
void CloseToolHelp();
+
protected:
- int OnEraseBkgnd(CDC*);
- void OnDestroy();
-public:
- static const CRuntimeClass classT2ToolHelpWnd;
-protected:
- static const AFX_MSGMAP messageMap;
-private:
- static const AFX_MSGMAP_ENTRY* const _messageEntries;
+ 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;
};