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.9 KiB

  1. // CreateKeyDlg.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CCreateKeyDlg dialog
  5. class CCreateKeyDlg : public CDialog
  6. {
  7. // Construction
  8. public:
  9. CCreateKeyDlg(CWnd* pParent = NULL); // standard constructor
  10. // Dialog Data
  11. //{{AFX_DATA(CCreateKeyDlg)
  12. enum { IDD = IDD_CREATE_KEY_REQUEST };
  13. CEdit m_ceditPassword;
  14. CButton m_btnOK;
  15. CComboBox m_comboBits;
  16. CString m_szNetAddress;
  17. CString m_szCountry;
  18. CString m_szLocality;
  19. CString m_szOrganization;
  20. CString m_szUnit;
  21. CString m_szState;
  22. CString m_szKeyName;
  23. CString m_szCertificateFile;
  24. CString m_szPassword;
  25. //}}AFX_DATA
  26. // ends up holding the number of bits
  27. DWORD m_nBits;
  28. DWORD m_nMaxBits;
  29. protected:
  30. // override the OnOK routine
  31. void OnOK();
  32. // specifies whether or not the user has specifically chosen a file name
  33. BOOL m_fKeyNameChangedFile;
  34. // specifies whether or not the user has specifically chosen a file name
  35. BOOL m_fSpecifiedFile;
  36. // Overrides
  37. // ClassWizard generated virtual function overrides
  38. //{{AFX_VIRTUAL(CCreateKeyDlg)
  39. public:
  40. virtual BOOL PreTranslateMessage(MSG* pMsg);
  41. protected:
  42. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. protected:
  46. // Generated message map functions
  47. //{{AFX_MSG(CCreateKeyDlg)
  48. afx_msg void OnChangeNewKeyName();
  49. afx_msg void OnNewKeyBrowse();
  50. afx_msg void OnChangeNewKeyRequestFile();
  51. afx_msg void OnChangeNewKeyPassword();
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. // my routines to help this puppy out
  55. protected:
  56. BOOL OnInitDialog( ); // override virtual oninitdialog
  57. };