G
Guest
Hi,
I have the following classical situation;
1)A long operation needs to be done in my application( that has many windows )
2)A progress dialog must be shown in a separate thread
3)The long operation continues in the program main thread.
The problem is,
from the second thread I call ShowDialog(), but this dialog will not be
Modal!!!
Obviously .net modal dialog will only work if all dialogs in the application
are opened in same thread.
in my scenario I can simply switch between two dialogs( the progress dialog
and the backgroud dialog)
How can I show a dialog that is modal to all other dialogs even if the
application dialogs were opened in different threads?
Regards,
Faris
I have the following classical situation;
1)A long operation needs to be done in my application( that has many windows )
2)A progress dialog must be shown in a separate thread
3)The long operation continues in the program main thread.
The problem is,
from the second thread I call ShowDialog(), but this dialog will not be
Modal!!!
Obviously .net modal dialog will only work if all dialogs in the application
are opened in same thread.
in my scenario I can simply switch between two dialogs( the progress dialog
and the backgroud dialog)
How can I show a dialog that is modal to all other dialogs even if the
application dialogs were opened in different threads?
Regards,
Faris