26CPWindow6::CPWindow6(
void) {
29 SetClass(lxT(
"CPWindow"));
30 SetName(lxT(
"window6"));
40 SetTitle(lxT(
"PICSimLab Project Wizard"));
41 SetOverrideRedirect(0);
42 EvOnCreate = EVONCREATE & CPWindow6::_EvOnCreate;
43 EvOnShow = EVONSHOW & CPWindow6::_EvOnShow;
45 label1.SetFOwner(
this);
46 label1.SetClass(lxT(
"CLabel"));
47 label1.SetName(lxT(
"label1"));
53 label1.SetHint(lxT(
""));
56 label1.SetPopupMenu(NULL);
57 label1.SetText(lxT(
"Board: xxx"));
61 label2.SetFOwner(
this);
62 label2.SetClass(lxT(
"CLabel"));
63 label2.SetName(lxT(
"label2"));
69 label2.SetHint(lxT(
""));
72 label2.SetPopupMenu(NULL);
73 label2.SetText(lxT(
"Microcontroller: xxx"));
77 combo1.SetFOwner(
this);
78 combo1.SetClass(lxT(
"CCombo"));
79 combo1.SetName(lxT(
"combo1"));
85 combo1.SetHint(lxT(
""));
88 combo1.SetPopupMenu(NULL);
89 combo1.SetItems(lxT(
""));
90 combo1.SetText(lxT(
""));
91 combo1.SetReadOnly(1);
92 combo1.EvOnComboChange = EVONCOMBOCHANGE & CPWindow6::combo1_EvOnComboChange;
95 label3.SetFOwner(
this);
96 label3.SetClass(lxT(
"CLabel"));
97 label3.SetName(lxT(
"label3"));
102 label3.SetHeight(20);
103 label3.SetHint(lxT(
""));
105 label3.SetVisible(1);
106 label3.SetPopupMenu(NULL);
107 label3.SetText(lxT(
"IDE:"));
109 CreateChild(&label3);
111 label4.SetFOwner(
this);
112 label4.SetClass(lxT(
"CLabel"));
113 label4.SetName(lxT(
"label4"));
118 label4.SetHeight(20);
119 label4.SetHint(lxT(
""));
121 label4.SetVisible(1);
122 label4.SetPopupMenu(NULL);
123 label4.SetText(lxT(
"Framework:"));
125 CreateChild(&label4);
127 combo2.SetFOwner(
this);
128 combo2.SetClass(lxT(
"CCombo"));
129 combo2.SetName(lxT(
"combo2"));
133 combo2.SetWidth(241);
134 combo2.SetHeight(26);
135 combo2.SetHint(lxT(
""));
137 combo2.SetVisible(1);
138 combo2.SetPopupMenu(NULL);
139 combo2.SetItems(lxT(
""));
140 combo2.SetText(lxT(
""));
141 combo2.SetReadOnly(1);
142 combo2.EvOnComboChange = EVONCOMBOCHANGE & CPWindow6::combo2_EvOnComboChange;
143 CreateChild(&combo2);
145 label5.SetFOwner(
this);
146 label5.SetClass(lxT(
"CLabel"));
147 label5.SetName(lxT(
"label5"));
152 label5.SetHeight(20);
153 label5.SetHint(lxT(
""));
155 label5.SetVisible(1);
156 label5.SetPopupMenu(NULL);
157 label5.SetText(lxT(
"Template:"));
159 CreateChild(&label5);
161 combo3.SetFOwner(
this);
162 combo3.SetClass(lxT(
"CCombo"));
163 combo3.SetName(lxT(
"combo3"));
167 combo3.SetWidth(240);
168 combo3.SetHeight(26);
169 combo3.SetHint(lxT(
""));
171 combo3.SetVisible(1);
172 combo3.SetPopupMenu(NULL);
173 combo3.SetItems(lxT(
""));
174 combo3.SetText(lxT(
""));
175 combo3.SetReadOnly(1);
176 combo3.EvOnComboChange = EVONCOMBOCHANGE & CPWindow6::combo3_EvOnComboChange;
177 CreateChild(&combo3);
179 button1.SetFOwner(
this);
180 button1.SetClass(lxT(
"CButton"));
181 button1.SetName(lxT(
"button1"));
185 button1.SetWidth(120);
186 button1.SetHeight(28);
187 button1.SetHint(lxT(
""));
188 button1.SetEnable(1);
189 button1.SetVisible(1);
190 button1.SetPopupMenu(NULL);
191 button1.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow6::button1_EvMouseButtonClick;
192 button1.SetText(lxT(
"Create"));
193 CreateChild(&button1);
195 button2.SetFOwner(
this);
196 button2.SetClass(lxT(
"CButton"));
197 button2.SetName(lxT(
"button2"));
201 button2.SetWidth(120);
202 button2.SetHeight(28);
203 button2.SetHint(lxT(
""));
204 button2.SetEnable(1);
205 button2.SetVisible(1);
206 button2.SetPopupMenu(NULL);
207 button2.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow6::button2_EvMouseButtonClick;
208 button2.SetText(lxT(
"Create and Open"));
209 CreateChild(&button2);
211 button3.SetFOwner(
this);
212 button3.SetClass(lxT(
"CButton"));
213 button3.SetName(lxT(
"button3"));
217 button3.SetWidth(120);
218 button3.SetHeight(28);
219 button3.SetHint(lxT(
""));
220 button3.SetEnable(1);
221 button3.SetVisible(1);
222 button3.SetPopupMenu(NULL);
223 button3.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow6::button3_EvMouseButtonClick;
224 button3.SetText(lxT(
"Cancel"));
225 CreateChild(&button3);
227 label6.SetFOwner(
this);
228 label6.SetClass(lxT(
"CLabel"));
229 label6.SetName(lxT(
"label6"));
234 label6.SetHeight(20);
235 label6.SetHint(lxT(
""));
237 label6.SetVisible(1);
238 label6.SetPopupMenu(NULL);
239 label6.SetText(lxT(
"Prj. name:"));
241 CreateChild(&label6);
243 edit1.SetFOwner(
this);
244 edit1.SetClass(lxT(
"CEdit"));
245 edit1.SetName(lxT(
"edit1"));
251 edit1.SetHint(lxT(
""));
254 edit1.SetPopupMenu(NULL);
255 edit1.SetText(lxT(
"Untitled"));
256 edit1.SetReadOnly(0);
259 dirdialog1.SetFOwner(
this);
260 dirdialog1.SetClass(lxT(
"CDirDialog"));
261 dirdialog1.SetName(lxT(
"dirdialog1"));
262 dirdialog1.SetTag(0);
263 dirdialog1.SetType(129);
264 dirdialog1.EvOnClose = EVONCLOSE & CPWindow6::dirdialog1_EvOnClose;
265 CreateChild(&dirdialog1);
267 filedialog1.SetFOwner(
this);
268 filedialog1.SetClass(lxT(
"CFileDialog"));
269 filedialog1.SetName(lxT(
"filedialog1"));
270 filedialog1.SetTag(0);
271 filedialog1.SetFileName(lxT(
"untitled.txt"));
272 filedialog1.SetFilter(lxT(
"All Files (*.*)|*.*"));
273 filedialog1.SetType(129);
274 filedialog1.EvOnClose = EVONCLOSE & CPWindow6::filedialog1_EvOnClose;
275 CreateChild(&filedialog1);
277 button4.SetFOwner(
this);
278 button4.SetClass(lxT(
"CButton"));
279 button4.SetName(lxT(
"button4"));
283 button4.SetWidth(120);
284 button4.SetHeight(28);
285 button4.SetHint(lxT(
""));
286 button4.SetEnable(1);
287 button4.SetVisible(1);
288 button4.SetPopupMenu(NULL);
289 button4.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow6::button4_EvMouseButtonClick;
290 button4.SetText(lxT(
"Open Existing"));
291 CreateChild(&button4);
293 button5.SetFOwner(
this);
294 button5.SetClass(lxT(
"CButton"));
295 button5.SetName(lxT(
"button5"));
299 button5.SetWidth(120);
300 button5.SetHeight(28);
301 button5.SetHint(lxT(
""));
302 button5.SetEnable(1);
303 button5.SetVisible(1);
304 button5.SetPopupMenu(NULL);
305 button5.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow6::button5_EvMouseButtonClick;
306 button5.SetText(lxT(
"Help"));
307 CreateChild(&button5);