View Full Version : Close child window with parent window button

11-26-2010, 10:51 AM
I want to close all child window with parent window. First i want to detect whether any child window open if open then it should be close after click close button on parent window.Please help.

How to detect open child window and how to close it with parent window.Please help.

11-26-2010, 08:43 PM
I'm not sure if there is a way to do this, but one easy approach would be to track new windows when you open them. Add them to an array, then when you click the 'close' button try to close each of those.