00001
00002
00003
00004
00005
00006 #include "stdafx.h"
00007 #include "FdmApp.h"
00008 #include "HFESheet.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(CHFESheet, CPropertySheet)
00017
00018 CHFESheet::CHFESheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
00019 :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
00020 {
00021 AddPage (&m_protocol);
00022 }
00023
00024 CHFESheet::~CHFESheet()
00025 {
00026 }
00027
00028 BEGIN_MESSAGE_MAP(CHFESheet, CPropertySheet)
00029
00030
00031 END_MESSAGE_MAP()
00032
00033 BOOL CHFESheet::OnInitDialog()
00034 {
00035 CPropertySheet::OnInitDialog();
00036
00037 DWORD dw = GetWindowLong (m_hWnd, GWL_EXSTYLE);
00038 dw |= WS_EX_CONTEXTHELP;
00039 SetWindowLong (m_hWnd, GWL_EXSTYLE, dw);
00040
00041 return TRUE;
00042
00043 }