blob: b8266fde29a30c0094b2759aac4e49d69a8431a6 (
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
|
#pragma once
#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;
};
|