//Copyright (c) 1997-2000 Microsoft Corporation #include "pch.hxx" // pch #pragma hdrstop #include "resource.h" #include "pgGenric.h" CGenericWizPg::CGenericWizPg( LPPROPSHEETPAGE ppsp, DWORD dwPageId, int nIdTitle /* = IDS_GENERICPAGETITLE */, int nIdSubTitle /* = IDS_GENERICPAGESUBTITLE */ ) : WizardPage(ppsp, nIdTitle, nIdSubTitle) { m_dwPageId = dwPageId; ppsp->pszTemplate = MAKEINTRESOURCE(m_dwPageId); } CGenericWizPg::~CGenericWizPg( VOID ) { } LRESULT CGenericWizPg::OnInitDialog( HWND hwnd, WPARAM wParam, LPARAM lParam ) { Button_SetCheck(GetDlgItem(m_hwnd, IDC_RADIO2), TRUE); return 1; }