.Net monkeys - Help needed!

Soldato
Joined
5 Mar 2003
Posts
10,768
Location
Nottingham
Hello there!
Basically I have a MDI program and I need to freeze one of the windows, but allow access to other windows.
i.e. they open up two different windows within my program. In the one window they press a button which pops up a box with a progress bar and peforms a task. While this task is going on I dont want them to be able to click on the window that popped the box up.
However, should they click on the second window that isnt doing anything, this is acceptable! So for the first window, i need basically "do modal" functionality.... but when ever i do that it stops the user where ever they click on the main MDI program.

Any ideas? :x
 
showdialog isnt an option as it means the one window has to be closed before the other gets focus again.
The calculation will defo go in a seperate thread, thats not a problem.
I will look into the methods give.... just thought (read: hoped) that there was an ultra easy way i was missing :P
 
There is one program which has two "child" windows open within it.
When one child window is busy doing something, the other window should still be active / interactable.
The "busy" child window has a dialog box saying busy / showing the status of the current operation, but should they click on the window, it should act like it has a modal dialog box (ie "beep" -> dialog box highlighted).

When I tried to do a "showdialog" from the child window is freezes the whole app -> reading up on this shows its due to the interface being all on one thread. I do not have the knowledge to code my own MDI application, so have to use the .Net default settings which seems to have a single thread for all GUI actives.

Hope this is clearer :)
 
possibly - havent thought of that approach...
but i still need to freeze the window, else they could kick off two commands which is bad :S
I guess i could just disable the text box / button.... hmmmm
not exactly what i wanted, but if it does the job...

Thanks :)
 
Back
Top Bottom