newbie problem with modal and modeless dialog box .

newbie problem with modal and modeless dialog box .

Post by suchitr » Sat, 11 Sep 1999 04:00:00



Hi,
   I have developed an application using single document interface with
several modal dialog box  , which pop up on selecting  menus. I also have a
modeless dialog box with a progress bar to display some background
processing.It takes some time to show up(due to some internal processing to
be done before it is  shown) .
Now, the problem is if  i open any modal dialog box ,before the modeless
dialog shows up the application crashes at PreTranslateMessage() funtion.
Though i know that modal dialog box prevents calls to
PreTranslateMessage(),i cannot figure out how to solve this problem.

TIA
suchitra.

 
 
 

1. Calling a modeless dialog box from a modal dialog box

Hi,

Can a modal dialog box be the parent of a modeless dialog box?

I have a dialog box with 7 radio buttons.  Depending on which
button is selected, a different modeless dialog box is displayed.
The user will select a control on the modeless dialog box and then
both the modal and modeless dialog boxes should go away.

I am using VC++ and MFC.

Any help would be appreciated.

Cathy

2. SIEMENS 97801-Emulation

3. Problem: Modal dialog box with modeless child

4. retrieving E-mails

5. Modeless dialog out of a Modal dialog box: possible?

6. MC56001 code

7. Should my dialog box be modal or modeless?

8. GTEoutage in Washington State?

9. Help! Modal dialog opening modal dialog = problem

10. Modal dialog as the parent of a modeless dialog...

11. Can we change the Modal Dialog to Modeless dialog ???

12. Modeless dialog inside modal dialog

13. Modal dialog doesn't disable modeless dialog when running InPlace.