|
// SampWizP.cpp : implementation file
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
#include "stdafx.h"
#include "SampWiz.h"
#include "WizPage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSampWizP
IMPLEMENT_DYNAMIC(CSampWizPropSheet, CPropertySheetEx)
CSampWizPropSheet::CSampWizPropSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage,
HBITMAP hbmWatermark, HPALETTE hpalWatermark, HBITMAP hbmHeader)
:CPropertySheetEx(nIDCaption, pParentWnd, iSelectPage,
hbmWatermark, hpalWatermark, hbmHeader)
{
// add all the pages of the wizard
AddPage(&m_Intro);
AddPage(&m_Interior1);
AddPage(&m_Interior2);
AddPage(&m_Completion);
// set the WIZARD97 flag so we'll get the new look
m_psh.dwFlags |= PSH_WIZARD97;
}
CSampWizPropSheet::CSampWizPropSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage,
HBITMAP hbmWatermark, HPALETTE hpalWatermark, HBITMAP hbmHeader)
:CPropertySheetEx(pszCaption, pParentWnd, iSelectPage,
hbmWatermark, hpalWatermark, hbmHeader)
{
// add all the pages of the wizard
AddPage(&m_Intro);
AddPage(&m_Interior1);
AddPage(&m_Interior2);
AddPage(&m_Completion);
// set the WIZARD97 flag so we'll get the new look
m_psh.dwFlags |= PSH_WIZARD97;
}
CSampWizPropSheet::~CSampWizPropSheet()
{
}
BEGIN_MESSAGE_MAP(CSampWizPropSheet, CPropertySheetEx)
//{{AFX_MSG_MAP(CSampWizPropSheet)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSampWizPropSheet 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.
I haven't always written software for a living. When I graduated from Surrey University in 1989, it was with an Electronic Engineering degree, but unfortunately that never really gave me the opportunity to do anything particularly interesting (with the possible exception of designing
Darth Vader's Codpiece * for the UK Army in 1990).
* Also known as the Standard Army Bootswitch. But that's another story...
Since the opportunity arose to lead a software team developing C++ software for
Avionic Test Systems in 1996, I've not looked back. More recently I've been involved in the development of subsea acoustic navigation systems, digital TV broadcast systems, port security/tracking systems, and most recently software development tools with my own company,
Riverblade Ltd.
One of my personal specialities is IDE plug-in development.
ResOrg was my first attempt at a plug-in, but my day to day work is with
Visual Lint, an interactive code analysis tool environment with works within the Visual Studio and Eclipse IDEs or on build servers.
I love lots of things, but particularly music, photography and anything connected with history or engineering. I
despise ignorant, intolerant and obstructive people - and it shows...I can be a bolshy cow if you wind me up the wrong way...
I'm currently based 15 minutes walk from the beach in Bournemouth on the south coast of England. Since I moved here I've grown to love the place - even if it is full of grockles in Summer!