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.

78 lines
2.1 KiB

  1. // genpage.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CGeneralPage dialog
  5. class CGeneralPage : public CPropertyPage
  6. {
  7. DECLARE_DYNCREATE(CGeneralPage)
  8. // Construction
  9. public:
  10. CGeneralPage();
  11. ~CGeneralPage();
  12. // Dialog Data
  13. //{{AFX_DATA(CGeneralPage)
  14. enum { IDD = IDD_GENERAL };
  15. CComboBox m_cbDeploy;
  16. CComboBox m_cbOS;
  17. CComboBox m_cbCPU;
  18. CString m_szName;
  19. CString m_szDeploy;
  20. CString m_szDescription;
  21. CString m_szLocale;
  22. CString m_szPath;
  23. // to remember the strings placed in the combo box for later comparison:
  24. CString m_szPublished;
  25. CString m_szAssigned;
  26. // to remember the strings in the CPU combo box
  27. CString m_rgszCPU[2];
  28. CString m_rgszOS[3];
  29. APP_DATA * m_pData;
  30. DWORD m_cookie;
  31. CString m_szVer;
  32. IStream * m_pIStream; // copy of the pointer to the marshalling stream for unmarshalling IClassAdmin
  33. IClassAdmin * m_pIClassAdmin;
  34. IStream * m_pIStreamAM;
  35. IAppManagerActions * m_pIAppManagerActions;
  36. int m_fShow;
  37. //}}AFX_DATA
  38. // Overrides
  39. // ClassWizard generate virtual function overrides
  40. //{{AFX_VIRTUAL(CGeneralPage)
  41. public:
  42. virtual BOOL OnApply();
  43. protected:
  44. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  45. //}}AFX_VIRTUAL
  46. // Implementation
  47. protected:
  48. // Generated message map functions
  49. //{{AFX_MSG(CGeneralPage)
  50. afx_msg void OnDestroy();
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnChangeName();
  53. afx_msg void OnChangeVersion();
  54. afx_msg void OnChangeOS();
  55. afx_msg void OnChangeCPU();
  56. afx_msg void OnChangePath();
  57. afx_msg void OnChangeDescription();
  58. afx_msg void OnSelchangeDeploy();
  59. afx_msg void OnChangeShow();
  60. //}}AFX_MSG
  61. DECLARE_MESSAGE_MAP()
  62. public:
  63. long m_hConsoleHandle; // Handle given to the snap-in by the console
  64. private:
  65. BOOL m_bUpdate;
  66. };