|
|
|
Close all Child window
Started by agenore at 05-26-2006 3:40 AM. Topic has 7 replies.
|
|
05-26-2006, 3:40 AM
|
agenore

Joined on 03-21-2006
Parma
Posts 26
|
Close all Child window
|
|
|
|
|
Hi, Is it possible close all the windows child in a MDI application?
|
|
|
|
|
Report
|
|
|
|
05-27-2006, 10:33 AM
|
theDentist
Joined on 12-05-2005
Posts 42
|
Re: Close all Child window
|
|
|
|
|
|
Hi agenore,
When do you want to close all the windows, they all close when the program is terminated anyway. What type of event are you using to close the windows
Peter
|
|
|
|
|
Report
|
|
|
|
05-28-2006, 5:00 AM
|
Yasir
Joined on 03-15-2006
Posts 44
|
Re: Close all Child window
|
|
|
|
|
off course you can close all the windows of child frames. but you have to write that in the Mdiframewnd. However it depends on which event you want to do it
|
|
|
|
|
Report
|
|
|
|
05-29-2006, 12:24 AM
|
agenore

Joined on 03-21-2006
Parma
Posts 26
|
Re: Close all Child window
|
|
|
|
|
I've written a little application that use a DB connection. I can change the db when I want inside the application. Now, when I do it I must close all the windows child which use a db connection (not necessary all windows).
|
|
|
|
|
Report
|
|
|
|
06-28-2006, 1:26 AM
|
agenore

Joined on 03-21-2006
Parma
Posts 26
|
Re: Close all Child window
|
|
|
|
|
Hi, Sorry, but I read the forum only now. Well... I've had the pointers of the child windows (I suppose) because they are open, but where they are I don't know. If I have 3 child open in a MDI structure, how can I obtain the pointers? Thanks.
|
|
|
|
|
Report
|
|
|
|
06-28-2006, 12:41 PM
|
theDentist
Joined on 12-05-2005
Posts 42
|
Re: Close all Child window
|
|
|
|
|
|
Hi agenore,
Does each child window have it's own class, and if so, then what class are they derived from?
Regards
Peter
|
|
|
|
|
Report
|
|
|
|
| |
|