00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00023 #pragma once
00024 #include "afxwin.h"
00025 #include "OutlookPluginDoc.h"
00026
00030 class CAccountSettings : public CFormView
00031 {
00032 DECLARE_DYNCREATE(CAccountSettings)
00033 protected:
00034 CAccountSettings();
00035 virtual ~CAccountSettings();
00036 public:
00037 enum { IDD = IDD_ACCOUNT };
00038 COutlookPluginDoc* GetDocument();
00039 #ifdef _DEBUG
00040 virtual void AssertValid() const;
00041 #ifndef _WIN32_WCE
00042 virtual void Dump(CDumpContext& dc) const;
00043 #endif
00044 #endif
00045
00046 protected:
00047 virtual void DoDataExchange(CDataExchange* pDX);
00048 virtual BOOL PreTranslateMessage(MSG* pMsg);
00049 DECLARE_MESSAGE_MAP()
00050 public:
00051 CEdit editUrl;
00052 CEdit editUser;
00053 CEdit editPassword;
00054 CButton butProxy;
00055 CStatic groupServer;
00056
00057 bool saveSettings(bool saveToDisk);
00058
00059 afx_msg void OnBnClickedAccountButCancel();
00060 afx_msg void OnBnClickedAccountButOk();
00061 afx_msg LRESULT OnInitForm(WPARAM, LPARAM);
00062 afx_msg int OnCreate(LPCREATESTRUCT lpcs);
00063 afx_msg void OnNcPaint();
00064 afx_msg void OnBnClickedAccountButProxy();
00065 };
00066