windows-nt/Source/XPSP1/NT/shell/osshell/accessib/accwiz/pggenric.cpp
2020-09-26 16:20:57 +08:00

39 lines
642 B
C++

//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;
}