Leaked source code of windows server 2003
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.

64 lines
1.3 KiB

  1. // LogODBC.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CLogODBC dialog
  5. class CLogODBC : public CPropertyPage
  6. {
  7. DECLARE_DYNCREATE(CLogODBC)
  8. // Construction
  9. public:
  10. CLogODBC();
  11. ~CLogODBC();
  12. // metabase target
  13. CString m_szServer;
  14. CString m_szMeta;
  15. CString m_szUserName;
  16. CStrPassword m_szPassword;
  17. // Dialog Data
  18. //{{AFX_DATA(CLogODBC)
  19. enum { IDD = IDD_LOG_ODBC };
  20. CEdit m_cedit_password;
  21. CString m_sz_datasource;
  22. CStrPassword m_sz_password;
  23. CString m_sz_table;
  24. CString m_sz_username;
  25. //}}AFX_DATA
  26. // Overrides
  27. // ClassWizard generate virtual function overrides
  28. //{{AFX_VIRTUAL(CLogODBC)
  29. public:
  30. virtual BOOL OnApply();
  31. // virtual BOOL OnSetActive();
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. // Generated message map functions
  38. //{{AFX_MSG(CLogODBC)
  39. virtual BOOL OnInitDialog();
  40. afx_msg void OnChangeOdbcDatasource();
  41. afx_msg void OnChangeOdbcPassword();
  42. afx_msg void OnChangeOdbcTable();
  43. afx_msg void OnChangeOdbcUsername();
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. void DoHelp();
  47. // void Init();
  48. // initialized flag
  49. BOOL m_fInitialized;
  50. CString m_szOrigPass;
  51. BOOL m_bPassTyped;
  52. };