⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 appcommpage.cpp

📁 动态鼠标
💻 CPP
字号:
// AppCommPage.cpp : implementation file
//

#include "stdafx.h"
#include "KSComDlg.h"
#include "AppCommPage.h"
#include "ExampleDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAppCommPage property page

IMPLEMENT_DYNCREATE(CAppCommPage, CPropertyPage)

CAppCommPage::CAppCommPage() : CPropertyPage(CAppCommPage::IDD)
{
	//{{AFX_DATA_INIT(CAppCommPage)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}

CAppCommPage::~CAppCommPage()
{
}

void CAppCommPage::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPage::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CAppCommPage)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAppCommPage, CPropertyPage)
	//{{AFX_MSG_MAP(CAppCommPage)
	ON_WM_SIZE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAppCommPage message handlers

BOOL CAppCommPage::OnInitDialog() 
{
	//CExampleDlg *cExDlg;
//    CRect crect;

	CPropertyPage::OnInitDialog();
	
/*	ksComDlgDlg = GetDlgItem(IDD_EXAMPLEDLG);
	ksComDlgDlg.GetWindowRect(&crect);
    ScreenToClient( &crect );

	int width = crect.right - crect.left;
	int height = crect.bottom - crect.top;
	ksComDlgDlg.m_Prosheet.MoveWindow(0,0,width,height);*/

	return TRUE;  
}

LRESULT CAppCommPage::OnWizardBack() 
{
	
	
	return CPropertyPage::OnWizardBack();
}

LRESULT CAppCommPage::OnWizardNext() 
{
	
	return CPropertyPage::OnWizardNext();
}

BOOL CAppCommPage::OnSetActive() 
{
	CPropertySheet* pPropSheet = (CPropertySheet*) GetParent();

	pPropSheet->SetWizardButtons( PSWIZB_FINISH );
	
	return CPropertyPage::OnSetActive();
}

void CAppCommPage::OnSize(UINT nType, int cx, int cy) 
{
//	CExampleDlg dlg;

	CPropertyPage::OnSize(nType, cx, cy);
	
//	CRect rect;
//    dlg.GetWindowRect(&rect);
//	ScreenToClient( &rect );
//	int width = rect.right - rect.left;
//	int height = rect.bottom - rect.top;
//	MoveWindow(0,0,width,height);
	//m_Prosheet.MoveWindow(rect);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -