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.

60 lines
1.4 KiB

  1. // NKDN2.h : header file
  2. //
  3. #include "HotLink.h"
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CNKDistinguisedName2 dialog
  6. class CNKDistinguisedName2 : public CNKPages
  7. {
  8. // Construction
  9. public:
  10. // standard constructor
  11. CNKDistinguisedName2(CWnd* pParent = NULL);
  12. virtual void OnFinish();
  13. virtual BOOL OnInitDialog();
  14. virtual BOOL OnSetActive();
  15. // Dialog Data
  16. //{{AFX_DATA(CNKDistinguisedName2)
  17. enum { IDD = IDD_NK_DN2 };
  18. CHotLink m_hotlink_codessite;
  19. CComboBox m_control_C;
  20. CDNEdit m_control_S;
  21. CDNEdit m_control_L;
  22. CString m_nkdn2_sz_L;
  23. CString m_nkdn2_sz_S;
  24. CString m_nkdn2_sz_C;
  25. //}}AFX_DATA
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CNKDistinguisedName2)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  31. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  32. //}}AFX_VIRTUAL
  33. // Implementation
  34. protected:
  35. // Generated message map functions
  36. //{{AFX_MSG(CNKDistinguisedName2)
  37. afx_msg void OnChangeNewkeyCountry();
  38. afx_msg void OnChangeNewkeyLocality();
  39. afx_msg void OnChangeNewkeyState();
  40. afx_msg void OnCloseupNewkeyCountry();
  41. afx_msg void OnSelchangeNewkeyCountry();
  42. //}}AFX_MSG
  43. DECLARE_MESSAGE_MAP()
  44. void InitCountryCodeDropDown();
  45. void InitOneCountryCode( LPCTSTR pszCode );
  46. void GetCCodePath( CString &sz );
  47. void ActivateButtons();
  48. CStringArray m_rgbszCodes;
  49. };