|
// MyActiveXPropPage.cpp : Implementation of the CMyActiveXPropPage property page class.
#include "stdafx.h"
#include "MyActiveX.h"
#include "MyActiveXPropPage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
IMPLEMENT_DYNCREATE(CMyActiveXPropPage, COlePropertyPage)
// Message map
BEGIN_MESSAGE_MAP(CMyActiveXPropPage, COlePropertyPage)
END_MESSAGE_MAP()
// Initialize class factory and guid
IMPLEMENT_OLECREATE_EX(CMyActiveXPropPage, "MYACTIVEX.MyActiveXPropPage.1",
0x746cccbd, 0x3589, 0x4370, 0x8d, 0x61, 0xa3, 0xef, 0x1c, 0x7c, 0x12, 0x24)
// CMyActiveXPropPage::CMyActiveXPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CMyActiveXPropPage
BOOL CMyActiveXPropPage::CMyActiveXPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_MYACTIVEX_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
// CMyActiveXPropPage::CMyActiveXPropPage - Constructor
CMyActiveXPropPage::CMyActiveXPropPage() :
COlePropertyPage(IDD, IDS_MYACTIVEX_PPG_CAPTION)
{
}
// CMyActiveXPropPage::DoDataExchange - Moves data between page and properties
void CMyActiveXPropPage::DoDataExchange(CDataExchange* pDX)
{
DDP_PostProcessing(pDX);
}
// CMyActiveXPropPage message handlers
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.