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.

69 lines
1.6 KiB

  1. // WWzTwo.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CWildWizTwo dialog
  5. class CWildWizTwo : public CPropertyPage
  6. {
  7. DECLARE_DYNCREATE(CWildWizTwo)
  8. // Construction
  9. public:
  10. CWildWizTwo();
  11. ~CWildWizTwo();
  12. // to make the buttons behave right
  13. BOOL m_fIsWizard;
  14. CPropertySheet* m_pPropSheet;
  15. // the only public member
  16. CCertMapRule* m_pRule;
  17. // base path to the metabase
  18. CString m_szMBPath;
  19. virtual BOOL OnWizardFinish();
  20. virtual BOOL OnApply();
  21. virtual BOOL OnInitDialog();
  22. // Dialog Data
  23. //{{AFX_DATA(CWildWizTwo)
  24. enum { IDD = IDD_WILDWIZ_2 };
  25. CListSelRowCtrl m_clistctrl_list;
  26. CButton m_cbutton_new;
  27. CButton m_cbutton_edit;
  28. CButton m_cbutton_delete;
  29. //}}AFX_DATA
  30. // Overrides
  31. // ClassWizard generate virtual function overrides
  32. //{{AFX_VIRTUAL(CWildWizTwo)
  33. public:
  34. virtual BOOL OnSetActive();
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. // Generated message map functions
  41. //{{AFX_MSG(CWildWizTwo)
  42. afx_msg void OnDelete();
  43. afx_msg void OnEdit();
  44. afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult);
  45. afx_msg void OnItemchangedList(NMHDR* pNMHDR, LRESULT* pResult);
  46. afx_msg void OnNew();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. void DoHelp();
  50. BOOL FInitRulesList();
  51. BOOL FillRulesList();
  52. // editing and updating
  53. void EnableDependantButtons();
  54. BOOL EditRule( DWORD iList );
  55. };