From: Alexander S.K. <al...@be...> - 2004-03-24 08:40:23
|
On 24.03.2004 3:31, Jose Augusto Jr - jamaj - terra <ja...@te...> wrote: JAJjt> The recent changes in window.c and hwindow.prg returned an error that JAJjt> i had already fixed in MDI windows. My changes were made very carefully and doesn't touch the logic of execution. I didn't change the MDI related stuff, because I want to consult with you as author of the last MDI changes. JAJjt> If you create two or more MDI child windows and then you exit by JAJjt> pressing the close button of the main window, only the Exit Block JAJjt> Code of the first MDI child window is executed, after the JAJjt> exit block code of the main window. The other MDI child windows are JAJjt> closed without the chance to execute it. I've checked it right now, adding the ON EXIT clauses to the samples/a.prg - all child windows exit codes are executed. JAJjt> The correct behavior, in my opinion, should be that the exit code JAJjt> block of the MDI childs would first been executed, and after JAJjt> closing all MDI children the exit code of the main window. Yes, this is preferred order, but my changes doesn't affect on it. But you didn't answer on my question about registering client and child windows classes. Could you give a link to the Win API tutorial, where from you got the information, your changes are based on ? Regards, Alexander http://kresin.belgorod.su |