00001
00002
00003
00004
00005
00006 #include "stdafx.h"
00007 #include "FdmApp.h"
00008 #include "PrgSheet.h"
00009
00010 #ifdef _DEBUG
00011 #define new DEBUG_NEW
00012 #undef THIS_FILE
00013 static char THIS_FILE[] = __FILE__;
00014 #endif
00015
00016 IMPLEMENT_DYNAMIC(CPrgSheet, CPropertySheet)
00017
00018 CPrgSheet::CPrgSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
00019 :CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
00020 {
00021 }
00022
00023 CPrgSheet::CPrgSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
00024 :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
00025 {
00026 }
00027
00028 CPrgSheet::~CPrgSheet()
00029 {
00030 }
00031
00032 BEGIN_MESSAGE_MAP(CPrgSheet, CPropertySheet)
00033
00034
00035 END_MESSAGE_MAP()
00036
00037 void CPrgSheet::Init()
00038 {
00039 AddPage (&m_general);
00040 AddPage (&m_data);
00041 AddPage (&m_history);
00042 AddPage (&m_skins);
00043 AddPage (&m_update);
00044 AddPage (&m_misc);
00045 }
00046
00047 BOOL CPrgSheet::OnInitDialog()
00048 {
00049 CPropertySheet::OnInitDialog();
00050
00051 DWORD dw = GetWindowLong (m_hWnd, GWL_EXSTYLE);
00052 dw |= WS_EX_CONTEXTHELP;
00053 SetWindowLong (m_hWnd, GWL_EXSTYLE, dw);
00054
00055 return TRUE;
00056 }