// Start =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// General information section.
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// $Author:yongkiang$ User who last changed the file
// $Date:1/2/2013 12:16:30 PM$ Date and time of last check in
// $Revision:1.0$ Visual SourceSafe version number
// $Workfile::   HelpAboutPage.h                                       $ Filename
// End =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#if !defined(AFX_HELPABOUTPAGE_H__51BCF035_939F_11D6_A80B_005004C029CA__INCLUDED_)
#define AFX_HELPABOUTPAGE_H__51BCF035_939F_11D6_A80B_005004C029CA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MyPropertyPage.h"
#include "ShadeButtonST.h"
#include "PictureEx.h"
#include "HelpInfo.h"

// HelpAboutPage.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CHelpAboutPage dialog

class CHelpAboutPage : public CMyPropertyPage // public CPropertyPage
{
DECLARE_DYNCREATE(CHelpAboutPage)

// Construction
public:
    CHelpAboutPage();
    ~CHelpAboutPage();

// Dialog Data
// {{AFX_DATA(CHelpAboutPage)
    enum {
        IDD = IDD_HELP_ABOUT_PAGE
    };
    CShadeButtonST m_btnManual;
    CPictureEx     m_picMITLogo;
    CShadeButtonST m_versionBtn;
    CPictureEx     m_cstPicture;
// }}AFX_DATA

// Overrides
// ClassWizard generate virtual function overrides
// {{AFX_VIRTUAL(CHelpAboutPage)
public:
    virtual BOOL OnSetActive();
protected:
    virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// }}AFX_VIRTUAL

// Implementation
protected:
// Generated message map functions
// {{AFX_MSG(CHelpAboutPage)
    virtual BOOL OnInitDialog();
    afx_msg void OnVersionButton();
    afx_msg void OnPaint();
    afx_msg void OnManualButton();
// }}AFX_MSG
    DECLARE_MESSAGE_MAP()

private:
    CString GetFileVersion(LPCTSTR pszFileName);
    void    LoadPicture(void);

// CFont m_font;
    CString m_csBitmapFilename;
    CRect   m_rect;
    CDC     m_dcMem; // Compatible Memory DC for dialog
// CMainDoc  *m_pDoc;

    CHelpInfo m_helpInfo;
};

// {{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HELPABOUTPAGE_H__51BCF035_939F_11D6_A80B_005004C029CA__INCLUDED_)
