Microsoft HomeproductssearchsupportshopWrite Us   Microsoft Home
Magazine
 |  Community
 |  Workshop
 |  Tools & Samples
 |  Training
 |  Site Info

Workshop  |  Component Development

Control Wizard Original StopLite--StopLitePpg.CPP


Index for Original Control Wizard 4.1 Code


// StopLitePpg.cpp : Implementation of the CStopLitePropPage property page class.

#include "stdafx.h"
#include "StopLite.h"
#include "StopLitePpg.h"

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


IMPLEMENT_DYNCREATE(CStopLitePropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CStopLitePropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CStopLitePropPage)
// 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(CStopLitePropPage, "STOPLITE.StopLitePropPage.1",
0xab9422e3, 0xec0f, 0x11cf, 0x9c, 0xc6, 0, 0xaa, 0, 0x6c, 0xb4, 0x25)


/////////////////////////////////////////////////////////////////////////////
// CStopLitePropPage::CStopLitePropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CStopLitePropPage

BOOL CStopLitePropPage::CStopLitePropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_STOPLITE_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CStopLitePropPage::CStopLitePropPage - Constructor

CStopLitePropPage::CStopLitePropPage() :
COlePropertyPage(IDD, IDS_STOPLITE_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CStopLitePropPage)
// NOTE: ClassWizard will add member initialization here
//    DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CStopLitePropPage::DoDataExchange - Moves data between page and properties

void CStopLitePropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CStopLitePropPage)
// 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);
}


/////////////////////////////////////////////////////////////////////////////
// CStopLitePropPage message handlers

Did you find this article useful? Gripes? Compliments? Suggestions for other articles? Write us!

Back to topBack to top

© 1998 Microsoft Corporation. All rights reserved. Terms of use.

 

Magazine Home
Ask Jane
DHTML Dude
Extreme XML
For Starters
More or Hess
Servin' It Up
Site Lights
Web Men Talking
Member Community Home
Benefits: Freebies & Discounts
Benefits: Promote Your Site
Benefits: Connect with Your Peers
Benefits at a Glance
Online Special-Interest Groups
Your Membership
SBN Stores
Join Now
Workshop Home
Essentials
Content & Component Delivery
Component Development
Data Access & Databases
Design
DHTML, HTML & CSS
Extensible Markup Language (XML)
Languages & Development Tools
Messaging & Collaboration
Networking, Protocols & Data Formats
Reusing Browser Technology
Security & Cryptography
Server Technologies
Streaming & Interactive Media
Web Content Management
Workshop Index
Tools & Samples Home
Tools
Samples, Headers, Libs
Images
Sounds
Style Sheets
Web Fonts
Training Home
SBN Live Seminars
SBN Live Chats
Courses
Peer Support
CD-ROM Training
Books & Training Kits
Certification
SBN Home
New to SBN?
What's New on SBN
Site Map
Site Search
Glossary
Write Us
About This Site