00001
00002
00003
00004
00005
00006 #include "stdafx.h"
00007 #include "FdmApp.h"
00008 #include "DownloaderPropertiesSheet.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(CDownloaderPropertiesSheet, CPropertySheet)
00017
00018 CDownloaderPropertiesSheet::CDownloaderPropertiesSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
00019 :CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
00020 {
00021 }
00022
00023 CDownloaderPropertiesSheet::CDownloaderPropertiesSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
00024 :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
00025 {
00026 EnableStackedTabs (FALSE);
00027 }
00028
00029 CDownloaderPropertiesSheet::~CDownloaderPropertiesSheet()
00030 {
00031 }
00032
00033 BEGIN_MESSAGE_MAP(CDownloaderPropertiesSheet, CPropertySheet)
00034
00035
00036 END_MESSAGE_MAP()
00037
00038 void CDownloaderPropertiesSheet::Init()
00039 {
00040 AddPage (&m_newdld);
00041 AddPage (&m_list);
00042 AddPage (&m_network);
00043 if (Is9xME == FALSE && _AppMgr.IsBtInstalled ())
00044 AddPage (&m_bt);
00045 AddPage (&m_mirrors);
00046 AddPage (&m_monitor);
00047 AddPage (&m_notifications);
00048 AddPage (&m_community);
00049 }
00050
00051 BOOL CDownloaderPropertiesSheet::OnInitDialog()
00052 {
00053 CPropertySheet::OnInitDialog();
00054
00055
00056 DWORD dw = GetWindowLong (m_hWnd, GWL_EXSTYLE);
00057 dw |= WS_EX_CONTEXTHELP;
00058 SetWindowLong (m_hWnd, GWL_EXSTYLE, dw);
00059
00060 return TRUE;
00061
00062 }