home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Troubleshooting Netware Systems
/
CSTRIAL0196.BIN
/
attach
/
msj
/
v10n10
/
vb40.exe
/
SHELLOCX.EXE
/
SHELLPPG.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1995-10-01
|
2KB
|
76 lines
// shellppg.cpp : Implementation of the CShellinkPropPage property page class.
#include "stdafx.h"
#include "shellink.h"
#include "shellppg.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CShellinkPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CShellinkPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CShellinkPropPage)
// 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(CShellinkPropPage, "SHELLINK.ShellinkPropPage.1",
0xfeae5ca4, 0x9e82, 0x11ce, 0x8d, 0x75, 0x44, 0x45, 0x53, 0x54, 0x0, 0x0)
/////////////////////////////////////////////////////////////////////////////
// CShellinkPropPage::CShellinkPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CShellinkPropPage
BOOL CShellinkPropPage::CShellinkPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_SHELLINK_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CShellinkPropPage::CShellinkPropPage - Constructor
CShellinkPropPage::CShellinkPropPage() :
COlePropertyPage(IDD, IDS_SHELLINK_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CShellinkPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CShellinkPropPage::DoDataExchange - Moves data between page and properties
void CShellinkPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CShellinkPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CShellinkPropPage message handlers