blob: e653ba2cb95f83d753837af2d39bf70a2160c8e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#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
|