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

📄 mypropertysheet.cpp

📁 This paper provides video capture and category CcaptureVideo example, in Win2K DirectX9 SDK VC6 thro
💻 CPP
字号:
// MyPropertySheet.cpp : implementation file//#include "stdafx.h"#include "Console.h"#include "MyPropertySheet.h"#include "staticex.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CMyPropertySheetIMPLEMENT_DYNAMIC(CMyPropertySheet, CPropertySheet)/*CMyPropertySheet::CMyPropertySheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage){	AddAllPages();}CMyPropertySheet::CMyPropertySheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)	:CPropertySheet(pszCaption, pParentWnd, iSelectPage){	AddAllPages();}*/CMyPropertySheet::CMyPropertySheet(UINT nIDCaption, CWnd* pParentWnd,CStaticEx **pWnd, UINT iSelectPage)	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage){	AddAllPages();	m_pStatic = pWnd;	m_page1.m_pStatic=pWnd;	m_page2.m_pStatic=pWnd;	m_page3.m_pStatic=pWnd;	m_page4.m_pStatic=pWnd;}CMyPropertySheet::CMyPropertySheet(LPCTSTR pszCaption,CWnd* pParentWnd, CStaticEx **pWnd, UINT iSelectPage)	:CPropertySheet(pszCaption, pParentWnd, iSelectPage){	AddAllPages();    m_pStatic = pWnd;	m_page1.m_pStatic=pWnd;	m_page2.m_pStatic=pWnd;	m_page3.m_pStatic=pWnd;	m_page4.m_pStatic=pWnd;}CMyPropertySheet::~CMyPropertySheet(){}BEGIN_MESSAGE_MAP(CMyPropertySheet, CPropertySheet)	//{{AFX_MSG_MAP(CMyPropertySheet)		// NOTE - the ClassWizard will add and remove mapping macros here.	//}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CMyPropertySheet message handlersvoid CMyPropertySheet::AddAllPages(){	AddPage(&m_page1);	AddPage(&m_page2);	AddPage(&m_page3);	AddPage(&m_page4);}

⌨️ 快捷键说明

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