Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
642 B

  1. //Copyright (c) 1997-2000 Microsoft Corporation
  2. #include "pch.hxx" // pch
  3. #pragma hdrstop
  4. #include "resource.h"
  5. #include "pgGenric.h"
  6. CGenericWizPg::CGenericWizPg(
  7. LPPROPSHEETPAGE ppsp,
  8. DWORD dwPageId,
  9. int nIdTitle /* = IDS_GENERICPAGETITLE */,
  10. int nIdSubTitle /* = IDS_GENERICPAGESUBTITLE */
  11. ) : WizardPage(ppsp, nIdTitle, nIdSubTitle)
  12. {
  13. m_dwPageId = dwPageId;
  14. ppsp->pszTemplate = MAKEINTRESOURCE(m_dwPageId);
  15. }
  16. CGenericWizPg::~CGenericWizPg(
  17. VOID
  18. )
  19. {
  20. }
  21. LRESULT
  22. CGenericWizPg::OnInitDialog(
  23. HWND hwnd,
  24. WPARAM wParam,
  25. LPARAM lParam
  26. )
  27. {
  28. Button_SetCheck(GetDlgItem(m_hwnd, IDC_RADIO2), TRUE);
  29. return 1;
  30. }