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.

65 lines
1.6 KiB

  1. // NKDN.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CDNEdit
  5. class CDNEdit : public CEdit
  6. {
  7. public:
  8. CDNEdit();
  9. protected:
  10. virtual BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult);
  11. CString szExclude;
  12. CString szTotallyExclude;
  13. };
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CNKDistinguishedName dialog
  16. class CNKDistinguishedName : public CNKPages
  17. {
  18. // Construction
  19. public:
  20. CNKDistinguishedName(CWnd* pParent = NULL); // standard constructor
  21. virtual void OnFinish();
  22. virtual BOOL OnInitDialog(); // override virtual oninitdialog
  23. virtual BOOL OnSetActive();
  24. // NOTE: if you want to exclude characters from being entered into any
  25. // edit field here, make sure the control belowis of type CDNEdit. Then
  26. // add the character you want to exclude to the IDS_ILLEGAL_DN_CHARS string
  27. // Dialog Data
  28. //{{AFX_DATA(CNKDistinguishedName)
  29. enum { IDD = IDD_NK_DN1 };
  30. CDNEdit m_control_CN;
  31. CDNEdit m_control_OU;
  32. CDNEdit m_control_O;
  33. CString m_nkdn_sz_CN;
  34. CString m_nkdn_sz_O;
  35. CString m_nkdn_sz_OU;
  36. //}}AFX_DATA
  37. // Overrides
  38. // ClassWizard generated virtual function overrides
  39. //{{AFX_VIRTUAL(CNKDistinguishedName)
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. protected:
  45. // Generated message map functions
  46. //{{AFX_MSG(CNKDistinguishedName)
  47. afx_msg void OnChangeNewkeyCommonname();
  48. afx_msg void OnChangeNewkeyOrg();
  49. afx_msg void OnChangeNewkeyOrgunit();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. void ActivateButtons();
  53. };