Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


How to Close Child Windows

Keywords: 	 winclosechild winclose child

Question:

Do you have a function to do a close of a child window, maybe a function like WinClose but it would be called WinCloseChild?

Answer:

There is is no API call for a WinCloseChild function. Therefore you need to send keystrokes:
SendKeyChild("parent","child","^{F4}")
or
SendKeyChild("parent","child","!-c")

Article ID:   W14368
Filename:   Close Child Windows.txt