Leaked source code of windows server 2003
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.

71 lines
1.4 KiB

  1. #ifndef NCATTR_HPP_INCLUDED
  2. #define NCATTR_HPP_INCLUDED
  3. class NewClassAttributesPage : public CPropertyPage
  4. {
  5. public:
  6. NewClassAttributesPage(
  7. CreateClassWizardInfo* wi,
  8. ComponentData* cd);
  9. // ~NewClassAttributesPage();
  10. protected:
  11. virtual
  12. void
  13. DoDataExchange(CDataExchange *pDX);
  14. virtual
  15. BOOL
  16. OnInitDialog();
  17. static const DWORD help_map[];
  18. BOOL OnHelp(WPARAM wParam, LPARAM lParam) { return ShowHelp( GetSafeHwnd(), wParam, lParam, help_map, FALSE ); };
  19. BOOL OnContextHelp(WPARAM wParam, LPARAM lParam) { return ShowHelp( GetSafeHwnd(), wParam, lParam, help_map, TRUE ); };
  20. virtual
  21. BOOL
  22. OnKillActive();
  23. virtual
  24. void
  25. OnOK();
  26. virtual
  27. BOOL
  28. OnSetActive();
  29. virtual
  30. BOOL
  31. OnWizardFinish();
  32. DECLARE_MESSAGE_MAP()
  33. afx_msg void OnButtonOptionalAdd();
  34. afx_msg void OnButtonOptionalRemove();
  35. afx_msg void OnButtonMandatoryAdd();
  36. afx_msg void OnButtonMandatoryRemove();
  37. afx_msg void OnMandatorySelChange();
  38. afx_msg void OnOptionalSelChange();
  39. private:
  40. bool
  41. saveAndValidate();
  42. CreateClassWizardInfo& wiz_info;
  43. ComponentData& parent_ComponentData;
  44. CSchemaObjectsListBox listbox_mandatory;
  45. CSchemaObjectsListBox listbox_optional;
  46. };
  47. #endif // NCATTR_HPP_INCLUDED