Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

project with multiple dialog boxes

pz63vw
Beginner
476 Views

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

0 Kudos
1 Reply
Jugoslav_Dujic
Valued Contributor II
476 Views
Quoting - pz63vw

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).

0 Kudos
Reply