-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgs_ui_option.h
231 lines (200 loc) · 6.16 KB
/
gs_ui_option.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
#if !defined(AFX_GS_UI_OPTION_H__93E3EE0D_ECC5_44C9_B133_6F6876503B08__INCLUDED_)
#define AFX_GS_UI_OPTION_H__93E3EE0D_ECC5_44C9_B133_6F6876503B08__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// gs_ui_option.h : header file
//
#ifndef _gs_netw_h
#include "gs_netw.h"
#endif
/////////////////////////////////////////////////////////////////////////////
// COptionNet dialog
class COptionNet : public CPropertyPage
{
DECLARE_DYNCREATE(COptionNet)
// Construction
public:
COptionNet();
~COptionNet();
void LoadFromGS();
void SaveToGS();
// Dialog Data
//{{AFX_DATA(COptionNet)
enum { IDD = IDD_OPTION_NET };
CEdit m_GenericEdit;
CComboBox m_GenericCombo;
CComboBox m_HostCombo;
CListCtrl m_AliasList;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(COptionNet)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
BOOL AscendingOrder; // usato da funzione di ordinamento esterna
int Prev_iHeader; // usato da funzione di ordinamento esterna
protected:
BOOL isChanged;
int Prev_iItem;
int Curr_iSubItem;
C_ALIAS_LIST AliasList;
C_STR_LIST DriveList;
C_ALIAS_LIST SrvSideHostList;
CImageList m_ImageList;
CImageList m_ImageHdrList;
void getAvailableDriveList(C_STR_LIST &AvailableDriveList,
const TCHAR *ActualDrive = NULL);
void getOpSysList(C_STR_LIST &OpSysList);
void getAvailableHostList(C_STR_LIST &AvailableHostNameList,
const TCHAR *ActualHost = NULL);
void InitAliasList(void);
// Generated message map functions
//{{AFX_MSG(COptionNet)
virtual BOOL OnInitDialog();
afx_msg void OnColumnclickAliasList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClickAliasList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnKillfocusGenericCombo();
afx_msg void OnKillfocusGenericEdit();
afx_msg void OnKeydownAliasList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnNewAlias();
afx_msg void OnChangeGenericEdit();
afx_msg void OnSelchangeGenericCombo();
afx_msg void OnEraseAlias();
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnCbnKillfocusAliasCombo();
public:
afx_msg void OnCbnSelchangeAliasCombo();
public:
afx_msg void OnCbnEditchangeAliasCombo();
};
/////////////////////////////////////////////////////////////////////////////
// COptionEnv dialog
class COptionEnv : public CPropertyPage
{
DECLARE_DYNCREATE(COptionEnv)
// Construction
public:
void LoadFromGS();
void SaveToGS();
COptionEnv();
~COptionEnv();
// Dialog Data
//{{AFX_DATA(COptionEnv)
enum { IDD = IDD_OPTION_ENV };
CButton m_AddASELink;
CButton m_AutoSyncronize;
CButton m_DynamicExtraction;
CButton m_UpdGraphOnExtractSim;
CButton m_UpdGraphOnExtract;
CEdit m_WaitTime;
CEdit m_NumTest;
CButton m_LogFile;
CButton m_InsYScale;
CButton m_InsXScale;
CButton m_InsRot;
CButton m_InsPos;
CButton m_InsHText;
CButton m_AlignHighlightedFasOnSave;
CButton m_AddEntityToSaveSet;
CEdit m_AutoZoomMinXDim;
CEdit m_AutoZoomMinYDim;
CButton m_SelPreviousExtractedClasses;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(COptionEnv)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(COptionEnv)
afx_msg void OnAddEntityToSaveset();
afx_msg void OnAlignhighlightedfasonsave();
afx_msg void OnInsHText();
afx_msg void OnInsXScale();
afx_msg void OnInsYScale();
afx_msg void OnInsPos();
afx_msg void OnChangeNumTest();
afx_msg void OnChangeWaitTime();
afx_msg void OnLogFile();
afx_msg void OnInsRot();
afx_msg void OnRadioData1();
afx_msg void OnRadioData2();
afx_msg void OnRadioLogic1();
afx_msg void OnRadioLogic2();
afx_msg void OnRadioLogic3();
afx_msg void OnRadioLogic4();
afx_msg void OnDimAssoc0();
afx_msg void OnDimAssoc1();
afx_msg void OnDimAssoc2();
virtual BOOL OnInitDialog();
afx_msg void OnUpdGraphOnExtr();
afx_msg void OnUpdGraphOnExtrSim();
afx_msg void OnKillfocusNumTest();
afx_msg void OnKillfocusWaitTime();
afx_msg void OnDynamicExtraction();
afx_msg void OnAutoSyncro();
afx_msg void OnAddAseLink();
afx_msg void OnChangeAutoZoomMinXDim();
afx_msg void OnKillfocusAutoZoomMinXDim();
afx_msg void OnChangeAutoZoomMinYDim();
afx_msg void OnKillfocusAutoZoomMinYDim();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
int m_ShortDataFmt;
int m_LogicFmt;
int m_DimAssoc;
BOOL isChanged;
};
/////////////////////////////////////////////////////////////////////////////
// CGSOptions
class CGSOptions : public CPropertySheet
{
DECLARE_DYNAMIC(CGSOptions)
// Construction
public:
CGSOptions(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
CGSOptions(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGSOptions)
public:
virtual BOOL OnInitDialog();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CGSOptions();
void SaveToGS();
// Generated message map functions
protected:
CImageList m_ImageList;
void AddControlPages();
void InitializeImageList();
COptionNet m_OptionNet;
COptionEnv m_OptionEnv;
//{{AFX_MSG(CGSOptions)
afx_msg void OnApplyNow();
afx_msg void OnOk();
afx_msg void OnHelp();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
int gsui_options(void);
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GS_UI_OPTION_H__93E3EE0D_ECC5_44C9_B133_6F6876503B08__INCLUDED_)
#include "afxwin.h"