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.

26 lines
599 B

  1. #include "stdafx.h"
  2. #include "compdata.h"
  3. #include "newclass.hpp"
  4. #include "wizinfo.hpp"
  5. #include "ncgen.hpp"
  6. #include "ncattr.hpp"
  7. void
  8. DoNewClassDialog(ComponentData& cd)
  9. {
  10. CPropertySheet prop_sheet(IDS_NEW_CLASS_PROP_SHEET_TITLE);
  11. CreateClassWizardInfo info;
  12. NewClassGeneralPage general_page(&info);
  13. NewClassAttributesPage attr_page(&info, &cd);
  14. prop_sheet.AddPage(&general_page);
  15. prop_sheet.AddPage(&attr_page);
  16. prop_sheet.SetWizardMode();
  17. prop_sheet.DoModal();
  18. }