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.

59 lines
1.4 KiB

  1. // CnfrmPsD.h : header file
  2. //
  3. // NOTE that file Passdlg.h is very similar to this
  4. // file!
  5. //
  6. // CnfrmPsD class has an OnOK that will complain
  7. // to the user if the passwds dont match
  8. // This is above whats in PassDlg class
  9. //
  10. // And class PassDlg has an OnInitDialog that Cnfrmpsd
  11. // does not have. This simply puts focus on the edit
  12. // field for the passwd
  13. //
  14. //
  15. // DConfirmPassDlg.h : header file
  16. //
  17. #ifndef _CnfrmPsdConfirmPassDlg_h_file_1287_
  18. #define _CnfrmPsdConfirmPassDlg_h_file_1287_
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CConfirmPassDlg dialog
  21. class CConfirmPassDlg : public CDialog
  22. {
  23. // Construction
  24. public:
  25. CConfirmPassDlg(CWnd* pParent = NULL); // standard constructor
  26. // the original password that we are confirming
  27. CString m_szOrigPass;
  28. // Dialog Data
  29. //{{AFX_DATA(CConfirmPassDlg)
  30. enum { IDD = IDD_CONFIRM_PASSWORD };
  31. CString m_sz_password_new;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CConfirmPassDlg)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CConfirmPassDlg)
  43. virtual void OnOK();
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. };
  47. #endif