www.pudn.com > 20041201221023_vczx_progtemplate.rar > Page3.cpp


// Page3.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "Page.h" 
#include "Page3.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CPage3 property page 
 
IMPLEMENT_DYNCREATE(CPage3, CPropertyPage) 
 
CPage3::CPage3() : CPropertyPage(CPage3::IDD) 
{ 
	//{{AFX_DATA_INIT(CPage3) 
		// NOTE: the ClassWizard will add member initialization here 
	//}}AFX_DATA_INIT 
} 
 
CPage3::~CPage3() 
{ 
} 
 
void CPage3::DoDataExchange(CDataExchange* pDX) 
{ 
	CPropertyPage::DoDataExchange(pDX); 
	//{{AFX_DATA_MAP(CPage3) 
	//}}AFX_DATA_MAP 
} 
 
 
BEGIN_MESSAGE_MAP(CPage3, CPropertyPage) 
	//{{AFX_MSG_MAP(CPage3) 
	ON_WM_LBUTTONDOWN() 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CPage3 message handlers 
 
void CPage3::OnLButtonDown(UINT nFlags, CPoint point)  
{ 
   AfxGetMainWnd()->SendMessage(WM_NCLBUTTONDOWN,HTCAPTION,0); 
 
	 
	CPropertyPage::OnLButtonDown(nFlags, point); 
} 
 
BOOL CPage3::OnInitDialog()  
{ 
	CPropertyPage::OnInitDialog(); 
	 
	 
	return TRUE;  // return TRUE unless you set the focus to a control 
	              // EXCEPTION: OCX Property Pages should return FALSE 
}