I have this situation:
Program needs to do some operations. It will open standard window with text "Please wait" and it continues with occasional Application.ProcessMessages. But this window is no modal and click to the main window allows to work with main window. It is unwanted.
Modal window opening is not solution because if program opens modal window then main window is not accessible (correct) but program halts unless modal window is closed (unwanted).
Does exists easily solution for this without threading and disabling all elements on main window?
Do you understand me? My explanation may be weak.