00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #if !defined(AFX_DLGHELP_H__0522BC8D_8BDA_4FF9_9B67_00602AED7634__INCLUDED_)
00023 #define AFX_DLGHELP_H__0522BC8D_8BDA_4FF9_9B67_00602AED7634__INCLUDED_
00024
00025 #pragma once
00026
00027 #include "DlgSkinDialog.h"
00028 #include "RichViewCtrl.h"
00029 #include "RichDocument.h"
00030
00031
00032 class CHelpDlg : public CSkinDialog
00033 {
00034
00035 public:
00036 CHelpDlg(LPCTSTR pszName, CWnd* pParent = NULL);
00037
00038 DECLARE_DYNAMIC(CHelpDlg)
00039
00040
00041 public:
00042
00043 enum { IDD = IDD_HELP };
00044 CStatic m_wndBanner;
00045
00046
00047
00048 public:
00049 CRichViewCtrl m_wndView;
00050 CRichDocument m_pDocument;
00051 CString m_sDocument;
00052
00053
00054 public:
00055 static BOOL Show(LPCTSTR pszName, CWnd* pParent = NULL);
00056
00057
00058 public:
00059
00060 protected:
00061 virtual void DoDataExchange(CDataExchange* pDX);
00062
00063
00064
00065 protected:
00066
00067 virtual BOOL OnInitDialog();
00068 afx_msg void OnSize(UINT nType, int cx, int cy);
00069 afx_msg void OnClickView(RVN_ELEMENTEVENT* pNotify, LRESULT *pResult);
00070
00071
00072 DECLARE_MESSAGE_MAP()
00073
00074 };
00075
00076
00077
00078 #define IDC_HELP_VIEW 100
00079
00080 #endif // !defined(AFX_DLGHELP_H__0522BC8D_8BDA_4FF9_9B67_00602AED7634__INCLUDED_)