forked from morbac/xmltools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOptionsDlg.h
42 lines (32 loc) · 901 Bytes
/
OptionsDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#pragma once
#include "afxwin.h"
struct struct_proxyoptions {
bool status;
wchar_t host[255];
long port;
wchar_t username[255];
wchar_t password[255];
};
// Boîte de dialogue COptionsDlg
class COptionsDlg : public CDialogEx
{
DECLARE_DYNAMIC(COptionsDlg)
public:
COptionsDlg(CWnd* pParent = NULL, struct struct_proxyoptions* proxyoptions = NULL); // constructeur standard
virtual ~COptionsDlg();
// Données de boîte de dialogue
enum { IDD = IDD_OPTIONS };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // Prise en charge de DDX/DDV
void updateEditFieldsStatus();
struct struct_proxyoptions* proxyoptions;
DECLARE_MESSAGE_MAP()
public:
virtual BOOL OnInitDialog();
afx_msg void OnBnClickedChkenableproxy();
afx_msg void OnBnClickedOk();
CEdit editProxyHost;
CEdit editProxyPort;
CEdit editProxyUsername;
CEdit editProxyPassword;
};