]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/gtk/cmndlgs.py
Added missing header files
[wxWidgets.git] / wxPython / src / gtk / cmndlgs.py
... / ...
CommitLineData
1# This file was created automatically by SWIG.
2import cmndlgsc
3
4from misc import *
5
6from gdi import *
7
8from fonts import *
9
10from windows import *
11
12from clip_dnd import *
13
14from events import *
15
16from frames import *
17
18from stattool import *
19
20from controls import *
21import wx
22
23
24def EVT_COMMAND_FIND(win, id, func):
25 win.Connect(id, -1, wxEVT_COMMAND_FIND, func)
26
27def EVT_COMMAND_FIND_NEXT(win, id, func):
28 win.Connect(id, -1, wxEVT_COMMAND_FIND_NEXT, func)
29
30def EVT_COMMAND_FIND_REPLACE(win, id, func):
31 win.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE, func)
32
33def EVT_COMMAND_FIND_REPLACE_ALL(win, id, func):
34 win.Connect(id, -1, wxEVT_COMMAND_FIND_REPLACE_ALL, func)
35
36def EVT_COMMAND_FIND_CLOSE(win, id, func):
37 win.Connect(id, -1, wxEVT_COMMAND_FIND_CLOSE, func)
38
39
40class wxColourDataPtr(wxObjectPtr):
41 def __init__(self,this):
42 self.this = this
43 self.thisown = 0
44 def __del__(self, delfunc=cmndlgsc.delete_wxColourData):
45 if self.thisown == 1:
46 try:
47 delfunc(self)
48 except:
49 pass
50 def GetChooseFull(self, *_args, **_kwargs):
51 val = cmndlgsc.wxColourData_GetChooseFull(self, *_args, **_kwargs)
52 return val
53 def GetColour(self, *_args, **_kwargs):
54 val = cmndlgsc.wxColourData_GetColour(self, *_args, **_kwargs)
55 if val: val = wxColourPtr(val) ; val.thisown = 1
56 return val
57 def GetCustomColour(self, *_args, **_kwargs):
58 val = cmndlgsc.wxColourData_GetCustomColour(self, *_args, **_kwargs)
59 if val: val = wxColourPtr(val) ; val.thisown = 1
60 return val
61 def SetChooseFull(self, *_args, **_kwargs):
62 val = cmndlgsc.wxColourData_SetChooseFull(self, *_args, **_kwargs)
63 return val
64 def SetColour(self, *_args, **_kwargs):
65 val = cmndlgsc.wxColourData_SetColour(self, *_args, **_kwargs)
66 return val
67 def SetCustomColour(self, *_args, **_kwargs):
68 val = cmndlgsc.wxColourData_SetCustomColour(self, *_args, **_kwargs)
69 return val
70 def __repr__(self):
71 return "<%s.%s instance; proxy of C++ wxColourData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
72class wxColourData(wxColourDataPtr):
73 def __init__(self,*_args,**_kwargs):
74 self.this = cmndlgsc.new_wxColourData(*_args,**_kwargs)
75 self.thisown = 1
76
77
78
79
80class wxColourDialogPtr(wxDialogPtr):
81 def __init__(self,this):
82 self.this = this
83 self.thisown = 0
84 def GetColourData(self, *_args, **_kwargs):
85 val = cmndlgsc.wxColourDialog_GetColourData(self, *_args, **_kwargs)
86 if val: val = wxColourDataPtr(val)
87 return val
88 def ShowModal(self, *_args, **_kwargs):
89 val = cmndlgsc.wxColourDialog_ShowModal(self, *_args, **_kwargs)
90 return val
91 def __repr__(self):
92 return "<%s.%s instance; proxy of C++ wxColourDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
93class wxColourDialog(wxColourDialogPtr):
94 def __init__(self,*_args,**_kwargs):
95 self.this = cmndlgsc.new_wxColourDialog(*_args,**_kwargs)
96 self.thisown = 1
97 self._setOORInfo(self)
98
99
100
101
102class wxDirDialogPtr(wxDialogPtr):
103 def __init__(self,this):
104 self.this = this
105 self.thisown = 0
106 def GetPath(self, *_args, **_kwargs):
107 val = cmndlgsc.wxDirDialog_GetPath(self, *_args, **_kwargs)
108 return val
109 def GetMessage(self, *_args, **_kwargs):
110 val = cmndlgsc.wxDirDialog_GetMessage(self, *_args, **_kwargs)
111 return val
112 def GetStyle(self, *_args, **_kwargs):
113 val = cmndlgsc.wxDirDialog_GetStyle(self, *_args, **_kwargs)
114 return val
115 def SetMessage(self, *_args, **_kwargs):
116 val = cmndlgsc.wxDirDialog_SetMessage(self, *_args, **_kwargs)
117 return val
118 def SetPath(self, *_args, **_kwargs):
119 val = cmndlgsc.wxDirDialog_SetPath(self, *_args, **_kwargs)
120 return val
121 def ShowModal(self, *_args, **_kwargs):
122 val = cmndlgsc.wxDirDialog_ShowModal(self, *_args, **_kwargs)
123 return val
124 def __repr__(self):
125 return "<%s.%s instance; proxy of C++ wxDirDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
126class wxDirDialog(wxDirDialogPtr):
127 def __init__(self,*_args,**_kwargs):
128 self.this = cmndlgsc.new_wxDirDialog(*_args,**_kwargs)
129 self.thisown = 1
130 self._setOORInfo(self)
131
132
133
134
135class wxFileDialogPtr(wxDialogPtr):
136 def __init__(self,this):
137 self.this = this
138 self.thisown = 0
139 def GetDirectory(self, *_args, **_kwargs):
140 val = cmndlgsc.wxFileDialog_GetDirectory(self, *_args, **_kwargs)
141 return val
142 def GetFilename(self, *_args, **_kwargs):
143 val = cmndlgsc.wxFileDialog_GetFilename(self, *_args, **_kwargs)
144 return val
145 def GetFilterIndex(self, *_args, **_kwargs):
146 val = cmndlgsc.wxFileDialog_GetFilterIndex(self, *_args, **_kwargs)
147 return val
148 def GetMessage(self, *_args, **_kwargs):
149 val = cmndlgsc.wxFileDialog_GetMessage(self, *_args, **_kwargs)
150 return val
151 def GetPath(self, *_args, **_kwargs):
152 val = cmndlgsc.wxFileDialog_GetPath(self, *_args, **_kwargs)
153 return val
154 def GetStyle(self, *_args, **_kwargs):
155 val = cmndlgsc.wxFileDialog_GetStyle(self, *_args, **_kwargs)
156 return val
157 def GetWildcard(self, *_args, **_kwargs):
158 val = cmndlgsc.wxFileDialog_GetWildcard(self, *_args, **_kwargs)
159 return val
160 def SetDirectory(self, *_args, **_kwargs):
161 val = cmndlgsc.wxFileDialog_SetDirectory(self, *_args, **_kwargs)
162 return val
163 def SetFilename(self, *_args, **_kwargs):
164 val = cmndlgsc.wxFileDialog_SetFilename(self, *_args, **_kwargs)
165 return val
166 def SetFilterIndex(self, *_args, **_kwargs):
167 val = cmndlgsc.wxFileDialog_SetFilterIndex(self, *_args, **_kwargs)
168 return val
169 def SetMessage(self, *_args, **_kwargs):
170 val = cmndlgsc.wxFileDialog_SetMessage(self, *_args, **_kwargs)
171 return val
172 def SetPath(self, *_args, **_kwargs):
173 val = cmndlgsc.wxFileDialog_SetPath(self, *_args, **_kwargs)
174 return val
175 def SetStyle(self, *_args, **_kwargs):
176 val = cmndlgsc.wxFileDialog_SetStyle(self, *_args, **_kwargs)
177 return val
178 def SetWildcard(self, *_args, **_kwargs):
179 val = cmndlgsc.wxFileDialog_SetWildcard(self, *_args, **_kwargs)
180 return val
181 def ShowModal(self, *_args, **_kwargs):
182 val = cmndlgsc.wxFileDialog_ShowModal(self, *_args, **_kwargs)
183 return val
184 def GetFilenames(self, *_args, **_kwargs):
185 val = cmndlgsc.wxFileDialog_GetFilenames(self, *_args, **_kwargs)
186 return val
187 def GetPaths(self, *_args, **_kwargs):
188 val = cmndlgsc.wxFileDialog_GetPaths(self, *_args, **_kwargs)
189 return val
190 def __repr__(self):
191 return "<%s.%s instance; proxy of C++ wxFileDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
192class wxFileDialog(wxFileDialogPtr):
193 def __init__(self,*_args,**_kwargs):
194 self.this = cmndlgsc.new_wxFileDialog(*_args,**_kwargs)
195 self.thisown = 1
196 self._setOORInfo(self)
197
198
199
200
201class wxMultiChoiceDialogPtr(wxDialogPtr):
202 def __init__(self,this):
203 self.this = this
204 self.thisown = 0
205 def SetSelections(self, *_args, **_kwargs):
206 val = cmndlgsc.wxMultiChoiceDialog_SetSelections(self, *_args, **_kwargs)
207 return val
208 def GetSelections(self, *_args, **_kwargs):
209 val = cmndlgsc.wxMultiChoiceDialog_GetSelections(self, *_args, **_kwargs)
210 return val
211 def __repr__(self):
212 return "<%s.%s instance; proxy of C++ wxMultiChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
213class wxMultiChoiceDialog(wxMultiChoiceDialogPtr):
214 def __init__(self,*_args,**_kwargs):
215 self.this = cmndlgsc.new_wxMultiChoiceDialog(*_args,**_kwargs)
216 self.thisown = 1
217 self._setOORInfo(self)
218
219
220
221
222class wxSingleChoiceDialogPtr(wxDialogPtr):
223 def __init__(self,this):
224 self.this = this
225 self.thisown = 0
226 def GetSelection(self, *_args, **_kwargs):
227 val = cmndlgsc.wxSingleChoiceDialog_GetSelection(self, *_args, **_kwargs)
228 return val
229 def GetStringSelection(self, *_args, **_kwargs):
230 val = cmndlgsc.wxSingleChoiceDialog_GetStringSelection(self, *_args, **_kwargs)
231 return val
232 def SetSelection(self, *_args, **_kwargs):
233 val = cmndlgsc.wxSingleChoiceDialog_SetSelection(self, *_args, **_kwargs)
234 return val
235 def ShowModal(self, *_args, **_kwargs):
236 val = cmndlgsc.wxSingleChoiceDialog_ShowModal(self, *_args, **_kwargs)
237 return val
238 def __repr__(self):
239 return "<%s.%s instance; proxy of C++ wxSingleChoiceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
240class wxSingleChoiceDialog(wxSingleChoiceDialogPtr):
241 def __init__(self,*_args,**_kwargs):
242 self.this = cmndlgsc.new_wxSingleChoiceDialog(*_args,**_kwargs)
243 self.thisown = 1
244 self._setOORInfo(self)
245
246
247
248
249class wxTextEntryDialogPtr(wxDialogPtr):
250 def __init__(self,this):
251 self.this = this
252 self.thisown = 0
253 def GetValue(self, *_args, **_kwargs):
254 val = cmndlgsc.wxTextEntryDialog_GetValue(self, *_args, **_kwargs)
255 return val
256 def SetValue(self, *_args, **_kwargs):
257 val = cmndlgsc.wxTextEntryDialog_SetValue(self, *_args, **_kwargs)
258 return val
259 def ShowModal(self, *_args, **_kwargs):
260 val = cmndlgsc.wxTextEntryDialog_ShowModal(self, *_args, **_kwargs)
261 return val
262 def __repr__(self):
263 return "<%s.%s instance; proxy of C++ wxTextEntryDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
264class wxTextEntryDialog(wxTextEntryDialogPtr):
265 def __init__(self,*_args,**_kwargs):
266 self.this = cmndlgsc.new_wxTextEntryDialog(*_args,**_kwargs)
267 self.thisown = 1
268 self._setOORInfo(self)
269
270
271
272
273class wxFontDataPtr(wxObjectPtr):
274 def __init__(self,this):
275 self.this = this
276 self.thisown = 0
277 def __del__(self, delfunc=cmndlgsc.delete_wxFontData):
278 if self.thisown == 1:
279 try:
280 delfunc(self)
281 except:
282 pass
283 def EnableEffects(self, *_args, **_kwargs):
284 val = cmndlgsc.wxFontData_EnableEffects(self, *_args, **_kwargs)
285 return val
286 def GetAllowSymbols(self, *_args, **_kwargs):
287 val = cmndlgsc.wxFontData_GetAllowSymbols(self, *_args, **_kwargs)
288 return val
289 def GetColour(self, *_args, **_kwargs):
290 val = cmndlgsc.wxFontData_GetColour(self, *_args, **_kwargs)
291 if val: val = wxColourPtr(val) ; val.thisown = 1
292 return val
293 def GetChosenFont(self, *_args, **_kwargs):
294 val = cmndlgsc.wxFontData_GetChosenFont(self, *_args, **_kwargs)
295 if val: val = wxFontPtr(val) ; val.thisown = 1
296 return val
297 def GetEnableEffects(self, *_args, **_kwargs):
298 val = cmndlgsc.wxFontData_GetEnableEffects(self, *_args, **_kwargs)
299 return val
300 def GetInitialFont(self, *_args, **_kwargs):
301 val = cmndlgsc.wxFontData_GetInitialFont(self, *_args, **_kwargs)
302 if val: val = wxFontPtr(val) ; val.thisown = 1
303 return val
304 def GetShowHelp(self, *_args, **_kwargs):
305 val = cmndlgsc.wxFontData_GetShowHelp(self, *_args, **_kwargs)
306 return val
307 def SetAllowSymbols(self, *_args, **_kwargs):
308 val = cmndlgsc.wxFontData_SetAllowSymbols(self, *_args, **_kwargs)
309 return val
310 def SetChosenFont(self, *_args, **_kwargs):
311 val = cmndlgsc.wxFontData_SetChosenFont(self, *_args, **_kwargs)
312 return val
313 def SetColour(self, *_args, **_kwargs):
314 val = cmndlgsc.wxFontData_SetColour(self, *_args, **_kwargs)
315 return val
316 def SetInitialFont(self, *_args, **_kwargs):
317 val = cmndlgsc.wxFontData_SetInitialFont(self, *_args, **_kwargs)
318 return val
319 def SetRange(self, *_args, **_kwargs):
320 val = cmndlgsc.wxFontData_SetRange(self, *_args, **_kwargs)
321 return val
322 def SetShowHelp(self, *_args, **_kwargs):
323 val = cmndlgsc.wxFontData_SetShowHelp(self, *_args, **_kwargs)
324 return val
325 def __repr__(self):
326 return "<%s.%s instance; proxy of C++ wxFontData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
327class wxFontData(wxFontDataPtr):
328 def __init__(self,*_args,**_kwargs):
329 self.this = cmndlgsc.new_wxFontData(*_args,**_kwargs)
330 self.thisown = 1
331
332
333
334
335class wxFontDialogPtr(wxDialogPtr):
336 def __init__(self,this):
337 self.this = this
338 self.thisown = 0
339 def GetFontData(self, *_args, **_kwargs):
340 val = cmndlgsc.wxFontDialog_GetFontData(self, *_args, **_kwargs)
341 if val: val = wxFontDataPtr(val)
342 return val
343 def ShowModal(self, *_args, **_kwargs):
344 val = cmndlgsc.wxFontDialog_ShowModal(self, *_args, **_kwargs)
345 return val
346 def __repr__(self):
347 return "<%s.%s instance; proxy of C++ wxFontDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
348class wxFontDialog(wxFontDialogPtr):
349 def __init__(self,*_args,**_kwargs):
350 self.this = cmndlgsc.new_wxFontDialog(*_args,**_kwargs)
351 self.thisown = 1
352 self._setOORInfo(self)
353
354
355
356
357class wxMessageDialogPtr(wxDialogPtr):
358 def __init__(self,this):
359 self.this = this
360 self.thisown = 0
361 def ShowModal(self, *_args, **_kwargs):
362 val = cmndlgsc.wxMessageDialog_ShowModal(self, *_args, **_kwargs)
363 return val
364 def __repr__(self):
365 return "<%s.%s instance; proxy of C++ wxMessageDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
366class wxMessageDialog(wxMessageDialogPtr):
367 def __init__(self,*_args,**_kwargs):
368 self.this = cmndlgsc.new_wxMessageDialog(*_args,**_kwargs)
369 self.thisown = 1
370 self._setOORInfo(self)
371
372
373
374
375class wxProgressDialogPtr(wxFramePtr):
376 def __init__(self,this):
377 self.this = this
378 self.thisown = 0
379 def Update(self, *_args, **_kwargs):
380 val = cmndlgsc.wxProgressDialog_Update(self, *_args, **_kwargs)
381 return val
382 def Resume(self, *_args, **_kwargs):
383 val = cmndlgsc.wxProgressDialog_Resume(self, *_args, **_kwargs)
384 return val
385 def __repr__(self):
386 return "<%s.%s instance; proxy of C++ wxProgressDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
387class wxProgressDialog(wxProgressDialogPtr):
388 def __init__(self,*_args,**_kwargs):
389 self.this = cmndlgsc.new_wxProgressDialog(*_args,**_kwargs)
390 self.thisown = 1
391 self._setOORInfo(self)
392
393
394
395
396class wxFindDialogEventPtr(wxCommandEventPtr):
397 def __init__(self,this):
398 self.this = this
399 self.thisown = 0
400 def GetFlags(self, *_args, **_kwargs):
401 val = cmndlgsc.wxFindDialogEvent_GetFlags(self, *_args, **_kwargs)
402 return val
403 def GetFindString(self, *_args, **_kwargs):
404 val = cmndlgsc.wxFindDialogEvent_GetFindString(self, *_args, **_kwargs)
405 return val
406 def GetReplaceString(self, *_args, **_kwargs):
407 val = cmndlgsc.wxFindDialogEvent_GetReplaceString(self, *_args, **_kwargs)
408 return val
409 def GetDialog(self, *_args, **_kwargs):
410 val = cmndlgsc.wxFindDialogEvent_GetDialog(self, *_args, **_kwargs)
411 if val: val = wxFindReplaceDialogPtr(val)
412 return val
413 def SetFlags(self, *_args, **_kwargs):
414 val = cmndlgsc.wxFindDialogEvent_SetFlags(self, *_args, **_kwargs)
415 return val
416 def SetFindString(self, *_args, **_kwargs):
417 val = cmndlgsc.wxFindDialogEvent_SetFindString(self, *_args, **_kwargs)
418 return val
419 def SetReplaceString(self, *_args, **_kwargs):
420 val = cmndlgsc.wxFindDialogEvent_SetReplaceString(self, *_args, **_kwargs)
421 return val
422 def __repr__(self):
423 return "<%s.%s instance; proxy of C++ wxFindDialogEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
424class wxFindDialogEvent(wxFindDialogEventPtr):
425 def __init__(self,*_args,**_kwargs):
426 self.this = cmndlgsc.new_wxFindDialogEvent(*_args,**_kwargs)
427 self.thisown = 1
428
429
430
431
432class wxFindReplaceDataPtr(wxObjectPtr):
433 def __init__(self,this):
434 self.this = this
435 self.thisown = 0
436 def __del__(self, delfunc=cmndlgsc.delete_wxFindReplaceData):
437 if self.thisown == 1:
438 try:
439 delfunc(self)
440 except:
441 pass
442 def GetFindString(self, *_args, **_kwargs):
443 val = cmndlgsc.wxFindReplaceData_GetFindString(self, *_args, **_kwargs)
444 return val
445 def GetReplaceString(self, *_args, **_kwargs):
446 val = cmndlgsc.wxFindReplaceData_GetReplaceString(self, *_args, **_kwargs)
447 return val
448 def GetFlags(self, *_args, **_kwargs):
449 val = cmndlgsc.wxFindReplaceData_GetFlags(self, *_args, **_kwargs)
450 return val
451 def SetFlags(self, *_args, **_kwargs):
452 val = cmndlgsc.wxFindReplaceData_SetFlags(self, *_args, **_kwargs)
453 return val
454 def SetFindString(self, *_args, **_kwargs):
455 val = cmndlgsc.wxFindReplaceData_SetFindString(self, *_args, **_kwargs)
456 return val
457 def SetReplaceString(self, *_args, **_kwargs):
458 val = cmndlgsc.wxFindReplaceData_SetReplaceString(self, *_args, **_kwargs)
459 return val
460 def __repr__(self):
461 return "<%s.%s instance; proxy of C++ wxFindReplaceData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
462class wxFindReplaceData(wxFindReplaceDataPtr):
463 def __init__(self,*_args,**_kwargs):
464 self.this = cmndlgsc.new_wxFindReplaceData(*_args,**_kwargs)
465 self.thisown = 1
466
467
468
469
470class wxFindReplaceDialogPtr(wxDialogPtr):
471 def __init__(self,this):
472 self.this = this
473 self.thisown = 0
474 def Create(self, *_args, **_kwargs):
475 val = cmndlgsc.wxFindReplaceDialog_Create(self, *_args, **_kwargs)
476 return val
477 def GetData(self, *_args, **_kwargs):
478 val = cmndlgsc.wxFindReplaceDialog_GetData(self, *_args, **_kwargs)
479 if val: val = wxFindReplaceDataPtr(val)
480 return val
481 def SetData(self, *_args, **_kwargs):
482 val = cmndlgsc.wxFindReplaceDialog_SetData(self, *_args, **_kwargs)
483 return val
484 def __repr__(self):
485 return "<%s.%s instance; proxy of C++ wxFindReplaceDialog instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
486class wxFindReplaceDialog(wxFindReplaceDialogPtr):
487 def __init__(self,*_args,**_kwargs):
488 self.this = cmndlgsc.new_wxFindReplaceDialog(*_args,**_kwargs)
489 self.thisown = 1
490 self._setOORInfo(self)
491
492
493
494def wxPreFindReplaceDialog(*_args,**_kwargs):
495 val = wxFindReplaceDialogPtr(cmndlgsc.new_wxPreFindReplaceDialog(*_args,**_kwargs))
496 val.thisown = 1
497 val._setOORInfo(val)
498 return val
499
500
501
502
503#-------------- FUNCTION WRAPPERS ------------------
504
505
506
507#-------------- VARIABLE WRAPPERS ------------------
508
509wxCHOICEDLG_STYLE = cmndlgsc.wxCHOICEDLG_STYLE
510wxFR_DOWN = cmndlgsc.wxFR_DOWN
511wxFR_WHOLEWORD = cmndlgsc.wxFR_WHOLEWORD
512wxFR_MATCHCASE = cmndlgsc.wxFR_MATCHCASE
513wxFR_REPLACEDIALOG = cmndlgsc.wxFR_REPLACEDIALOG
514wxFR_NOUPDOWN = cmndlgsc.wxFR_NOUPDOWN
515wxFR_NOMATCHCASE = cmndlgsc.wxFR_NOMATCHCASE
516wxFR_NOWHOLEWORD = cmndlgsc.wxFR_NOWHOLEWORD
517wxEVT_COMMAND_FIND = cmndlgsc.wxEVT_COMMAND_FIND
518wxEVT_COMMAND_FIND_NEXT = cmndlgsc.wxEVT_COMMAND_FIND_NEXT
519wxEVT_COMMAND_FIND_REPLACE = cmndlgsc.wxEVT_COMMAND_FIND_REPLACE
520wxEVT_COMMAND_FIND_REPLACE_ALL = cmndlgsc.wxEVT_COMMAND_FIND_REPLACE_ALL
521wxEVT_COMMAND_FIND_CLOSE = cmndlgsc.wxEVT_COMMAND_FIND_CLOSE