>The title pretty well sums it up. I have a cancellable, modeless dialog
>box that displays a % done status. That's pretty standard stuff.
>While doing this processing, I want to prevent the user from doing
>anthing else in my app (but of course, allowing them to use other apps).
>What's the standard way of doing this:
> (a) switch focus back to the modeless dialog box each time the main
> window gets the focus?
> (b) disable all of the menu items, so they can't be selected
> (c) other?
>When using the modeless 'search' dialog box in Notepad, you can switch back
>to the main window and pull down menu items and run all of the selections,
>including exit, help, edit/cut etc. The don't seem to concerned about
>whether or not the search dialog box is running.
>However, when doing the same thing in Word, you can't touch the main
>window at all while running the search dialog box. You get a beep, so
>either Windows is preventing it or the main window gets the focus,
>beeps and switches the focus back to the dialog box.
>--
>Airborne Geophysics
>Geological Survey of Canada, Ottawa
Uhhh ? I don't understand ... You want to use a modeless dialog box as a modal
one ?
David
+---------------------------+----------------------------------+
| Siemens Nixdorf, | Phone : +32 41 201 609 |
| Centre Software de Liege, | FAX : +32 41 201 642 |
| 2, rue des Fories, +----------------------------------+
| 4020 Liege, Belgium. | #include "disclaim.hpp" |
+---------------------------+----------------------------------+