00001
00002
00003
00004
00005
00006 #include "stdafx.h"
00007 #include "FdmApp.h"
00008 #include "BtDldSheet.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(CBtDldSheet, CPropertySheet)
00017
00018 CBtDldSheet::CBtDldSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
00019 :CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
00020 {
00021
00022 }
00023
00024 CBtDldSheet::CBtDldSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
00025 :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
00026 {
00027
00028 }
00029
00030 CBtDldSheet::~CBtDldSheet()
00031 {
00032 }
00033
00034 BEGIN_MESSAGE_MAP(CBtDldSheet, CPropertySheet)
00035
00036
00037
00038 END_MESSAGE_MAP()
00039
00040 void CBtDldSheet::Init(DLDS_LIST *pvDlds, DWORD dwPages)
00041 {
00042 m_general.m_pvDlds = m_misc.m_pvDlds = pvDlds;
00043
00044 if (dwPages & BTDS_GENERAL_PAGE)
00045 AddPage (&m_general);
00046
00047 if (dwPages & BTDS_MISC_PAGE)
00048 AddPage (&m_misc);
00049 }
00050
00051 BOOL CBtDldSheet::IsNeedUpdateTasks()
00052 {
00053 return m_general.m_bNeedUpdateTasks;
00054 }