- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone has ever worked on the project of using multiple dialog boxes?
I can create child dialog window but don't know how to kill the child dialog. Right now, if I kill the child I will kill the whole program.
I saw a post saying that early version of VFC has sample code named as therm: The therm program demonstrates a "dialog-based" Fortran application ...It also demonstrates using multiple modeless dialog boxes. "
Can someone email me the sample code or similar code
thanks
qima
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone has ever worked on the project of using multiple dialog boxes?
I can create child dialog window but don't know how to kill the child dialog. Right now, if I kill the child I will kill the whole program.
I saw a post saying that early version of VFC has sample code named as therm: The therm program demonstrates a "dialog-based" Fortran application ...It also demonstrates using multiple modeless dialog boxes. "
Can someone email me the sample code or similar code
You gave too little information, I'm afraid.
It seems that you just copied the wizard-generated main dialog code into child dialogs; however, it calls PostQuitMessage(0), which causes the program to exit. A child dialog should normally just call DlgExit for itself when a closing event occurs (clicking an OK or Cancel button).

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page