gusucode.com > UDP语音通讯控件源码程序 > UDP语音通讯控件源码程序/AUDIOS/AUDIO/AUDIOPpg.cpp
// AUDIOPpg.cpp : Implementation of the CAUDIOPropPage property page class. #include "stdafx.h" #include "AUDIO.h" #include "AUDIOPpg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif IMPLEMENT_DYNCREATE(CAUDIOPropPage, COlePropertyPage) ///////////////////////////////////////////////////////////////////////////// // Message map BEGIN_MESSAGE_MAP(CAUDIOPropPage, COlePropertyPage) //{{AFX_MSG_MAP(CAUDIOPropPage) // NOTE - ClassWizard will add and remove message map entries // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // Initialize class factory and guid IMPLEMENT_OLECREATE_EX(CAUDIOPropPage, "AUDIO.AUDIOPropPage.1", 0x4965ac0f, 0xccb2, 0x46f6, 0xae, 0x6a, 0xd9, 0xf9, 0xca, 0xca, 0x83, 0x30) ///////////////////////////////////////////////////////////////////////////// // CAUDIOPropPage::CAUDIOPropPageFactory::UpdateRegistry - // Adds or removes system registry entries for CAUDIOPropPage BOOL CAUDIOPropPage::CAUDIOPropPageFactory::UpdateRegistry(BOOL bRegister) { if (bRegister) return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(), m_clsid, IDS_AUDIO_PPG); else return AfxOleUnregisterClass(m_clsid, NULL); } ///////////////////////////////////////////////////////////////////////////// // CAUDIOPropPage::CAUDIOPropPage - Constructor CAUDIOPropPage::CAUDIOPropPage() : COlePropertyPage(IDD, IDS_AUDIO_PPG_CAPTION) { //{{AFX_DATA_INIT(CAUDIOPropPage) // NOTE: ClassWizard will add member initialization here // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_DATA_INIT } ///////////////////////////////////////////////////////////////////////////// // CAUDIOPropPage::DoDataExchange - Moves data between page and properties void CAUDIOPropPage::DoDataExchange(CDataExchange* pDX) { //{{AFX_DATA_MAP(CAUDIOPropPage) // NOTE: ClassWizard will add DDP, DDX, and DDV calls here // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_DATA_MAP DDP_PostProcessing(pDX); } ///////////////////////////////////////////////////////////////////////////// // CAUDIOPropPage message handlers