// SheetBorderPage.cpp : implementation file // #include "stdafx.h" #include "resource.h" #include "SheetBorderPage.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CSheetBorderPage property page IMPLEMENT_DYNCREATE(CSheetBorderPage, CDividerPage) CSheetBorderPage::CSheetBorderPage() : CDividerPage(CSheetBorderPage::IDD) { //{{AFX_DATA_INIT(CSheetBorderPage) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } CSheetBorderPage::~CSheetBorderPage() { } void CSheetBorderPage::Obj2Dlg(const TDbSheet *pSheet) { CDividerPage::Obj2Dlg(pSheet->GetBorderStyle()); } void CSheetBorderPage::Dlg2Obj(TDbSheet *pSheet) const { pSheet->assertWriteEnabled(); CDividerPage::Dlg2Obj(pSheet->GetBorderStyle()); } void CSheetBorderPage::DoDataExchange(CDataExchange* pDX) { CDividerPage::DoDataExchange(pDX); //{{AFX_DATA_MAP(CSheetBorderPage) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CSheetBorderPage, CDividerPage) //{{AFX_MSG_MAP(CSheetBorderPage) // NOTE: the ClassWizard will add message map macros here //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CSheetBorderPage message handlers