I have an MFC SDI application. I am having problem with the immediate termination of a dialog box in my application.
On making appropriate selection from the dialog box i have to run a long process so the cursor gets the hour glass shape & a progress bar runs in the status bar but before all this the dialog box shud terminate.
I am using the EndDialog() to terminate the dialog box but it is not happening. The dialog box is there as long as the long process is running.
How do i solve this problem.
Also from MSDN i found out that:
"EndDialog does not close the dialog box immediately. Instead, it sets a flag that directs the dialog box to close as soon as the current message handler returns."
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms. Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go. MFC has a very cool system for handli…
Dialogs (1) modal - maintaining the database.
Continuing from the ninth article about sudoku.
You might have heard of modal and modeless dialogs. Here with this Sudoku application will we use one of each type: a modal dialog …
Enter Foreign and Special Characters
Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~
Use these codes in any Windows application! ... whether it is a Micr…