ProxySetDlg.h
上传用户:zhanglf88
上传日期:2013-11-19
资源大小:6036k
文件大小:1k
- #pragma once
- /***
- 代理设置对话框
- */
- class CProxySetDlg : public CDialog
- {
- // Construction
- public:
- CProxySetDlg(CWnd* pParent = NULL);
- void EnableWindows(BOOL bEnable);
- protected:
- enum { IDD = IDD_PROXYSET };
- CButton m_btnCancel;
- CButton m_btnOK;
- CEdit m_editProxyPasswd;
- CEdit m_editProxyUser;
- CStatic m_staticProxyPasswd;
- CStatic m_staticProxyUser;
- CEdit m_editProxyPort;
- CEdit m_editProxyAddress;
- CStatic m_staticProxyPort;
- CStatic m_staticProxyAddress;
- CString m_strProxyAddress;
- UINT m_nProxyPort;
- CString m_strProxyUser;
- CString m_strProxyPasswd;
- // Overrides
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
- virtual BOOL OnInitDialog();
- virtual void OnOK();
- public:
- virtual int DoModal();
- // Implementation
- protected:
- afx_msg void OnDirect();
- afx_msg void OnPreconfig();
- afx_msg void OnProxy();
- afx_msg void OnProxySocks4();
- afx_msg void OnProxySocks5();
- afx_msg void OnProxyHttp();
- DECLARE_MESSAGE_MAP()
- };