INTROPG.CPP
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:
Windows编程
开发平台:
Visual C++
- // IntroPg.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 "Wizard97.h"
- #include "IntroPg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CIntroPage property page
- IMPLEMENT_DYNCREATE(CIntroPage, CPropertyPageEx)
- CIntroPage::CIntroPage() : CPropertyPageEx(CIntroPage::IDD)
- {
- //{{AFX_DATA_INIT(CIntroPage)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- m_psp.dwFlags |= PSP_HIDEHEADER;
- }
- CIntroPage::~CIntroPage()
- {
- }
- void CIntroPage::DoDataExchange(CDataExchange* pDX)
- {
- CPropertyPageEx::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CIntroPage)
- // NOTE: the ClassWizard will add DDX and DDV calls here
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CIntroPage, CPropertyPageEx)
- //{{AFX_MSG_MAP(CIntroPage)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CIntroPage message handlers
- BOOL CIntroPage::OnSetActive()
- {
- CPropertySheet* pSheet = (CPropertySheet*)GetParent();
- ASSERT_KINDOF(CPropertySheet, pSheet);
- pSheet->SetWizardButtons(PSWIZB_NEXT);
- return CPropertyPageEx::OnSetActive();
- }