Board index » Visual Studio » Dialog box as a child window exiting problems
|
MichaelGriswold
|
|
MichaelGriswold
|
Dialog box as a child window exiting problems
Visual Studio284
I have created a Modeless Dialog box as a child window (so that the control are always visable). I thought (wrongly so it seems) that when the user exits the main window the closing of the closing of the child window would be handled by the destroy call of of the main window but I am getting an Assertion fault. What do I need to do before the programme exits? - |
| Victor
Registered User |
Fri Nov 19 13:47:17 CST 2004
Re:Dialog box as a child window exiting problems
Grant wrote:
QuoteI have created a Modeless Dialog box as a child window (so that the control the source code where the assertion happens? And, yes, it's generally a good habit to explicitly close all child windows upon exiting, in the order reverse to their opening. Keeps the filthy birds out of the room, you know... V - |
| Grant
Registered User |
Mon Nov 22 04:19:08 CST 2004
Re:Dialog box as a child window exiting problems
Thanks it was a firday night problem...I was using the wrong funciotn to open
the child window.....got it to work now "Victor Bazarov" wrote: QuoteGrant wrote: |
