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.

72 lines
1.7 KiB

  1. #if !defined(_GEOINFOPAGE_H)
  2. #define _GEOINFOPAGE_H
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // GeoInfoPage.h : header file
  7. //
  8. #include "CountryComboBox.h"
  9. class CCertificate;
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CGeoInfoPage dialog
  12. class CGeoInfoPage : public CIISWizardPage
  13. {
  14. DECLARE_DYNCREATE(CGeoInfoPage)
  15. // Construction
  16. public:
  17. CGeoInfoPage(CCertificate * pCert = NULL);
  18. ~CGeoInfoPage();
  19. enum
  20. {
  21. IDD_PAGE_PREV = IDD_PAGE_WIZ_SITE_NAME,
  22. IDD_PAGE_NEXT_FILE = IDD_PAGE_WIZ_CHOOSE_FILENAME,
  23. IDD_PAGE_NEXT_ONLINE = IDD_PAGE_WIZ_CHOOSE_ONLINE
  24. };
  25. // Dialog Data
  26. //{{AFX_DATA(CGeoInfoPage)
  27. enum { IDD = IDD_PAGE_WIZ_GEO_INFO };
  28. CString m_Locality;
  29. CString m_State;
  30. CString m_Country;
  31. //}}AFX_DATA
  32. CCertificate * m_pCert;
  33. CCountryComboBox m_countryCombo;
  34. // Overrides
  35. // ClassWizard generate virtual function overrides
  36. //{{AFX_VIRTUAL(CGeoInfoPage)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. public:
  40. virtual LRESULT OnWizardNext();
  41. virtual LRESULT OnWizardPrev();
  42. virtual BOOL OnSetActive();
  43. // virtual BOOL OnKillActive();
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. void SetButtons();
  48. void GetSelectedCountry(CString& str);
  49. void SetSelectedCountry(CString& str);
  50. // Generated message map functions
  51. //{{AFX_MSG(CGeoInfoPage)
  52. virtual BOOL OnInitDialog();
  53. afx_msg void OnChangeNewkeyLocality();
  54. afx_msg void OnChangeNewkeyState();
  55. afx_msg void OnEditchangeNewkeyCountry();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. };
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  61. #endif // !defined(_GEOINFOPAGE_H)