windows-nt/Source/XPSP1/NT/shell/osshell/accessib/accwiz/pggenric.cpp

39 lines
642 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//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;
}