DetailAuthDlg.h
上传用户:zslianheng
上传日期:2013-04-03
资源大小:946k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Visual C++

  1. /***************************************************************************
  2.  *                                                                         *
  3.  *   This program is free software; you can redistribute it and/or modify  *
  4.  *   it under the terms of the GNU General Public License as published by  *
  5.  *   the Free Software Foundation; either version 2 of the License, or     *
  6.  *   (at your option) any later version.                                   *
  7.  *                                                                         *
  8.  *   copyright            : (C) 2002 by Zhang Yong                         *
  9.  *   email                : z-yong163@163.com                              *
  10.  ***************************************************************************/
  11. #if !defined(AFX_DETAILAUTHDLG_H__B91711CD_6BA7_4231_8964_8DE59AF10E65__INCLUDED_)
  12. #define AFX_DETAILAUTHDLG_H__B91711CD_6BA7_4231_8964_8DE59AF10E65__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // DetailAuthDlg.h : header file
  17. //
  18. class IcqUser;
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CDetailAuthDlg dialog
  21. class CDetailAuthDlg : public CPropertyPage
  22. {
  23. DECLARE_DYNCREATE(CDetailAuthDlg)
  24. // Construction
  25. public:
  26. CDetailAuthDlg();
  27. ~CDetailAuthDlg();
  28. BOOL UpdateData(BOOL bSaveAndValidate = TRUE);
  29. void enablePasswd(BOOL enable);
  30. void enableAll(BOOL enable);
  31. void setData(IcqUser *user);
  32. // Dialog Data
  33. //{{AFX_DATA(CDetailAuthDlg)
  34. enum { IDD = IDD_DETAIL_AUTH };
  35. CString m_passwd;
  36. CString m_passwdAgain;
  37. CString m_passwdOld;
  38. int m_auth;
  39. BOOL m_modifyPasswd;
  40. //}}AFX_DATA
  41. // Overrides
  42. // ClassWizard generate virtual function overrides
  43. //{{AFX_VIRTUAL(CDetailAuthDlg)
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. // Generated message map functions
  50. //{{AFX_MSG(CDetailAuthDlg)
  51. afx_msg void OnModifyPasswd();
  52. afx_msg void OnModify();
  53. virtual void OnCancel();
  54. //}}AFX_MSG
  55. DECLARE_MESSAGE_MAP()
  56. };
  57. //{{AFX_INSERT_LOCATION}}
  58. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  59. #endif // !defined(AFX_DETAILAUTHDLG_H__B91711CD_6BA7_4231_8964_8DE59AF10E65__INCLUDED_)