Lock App Window
Posted: Fri May 06, 2016 4:25 pm
Hello,
In some long running processes how can I lock the main window so no controls can be clicked on until my process is done?
I could individually disable all the controls but some controls I am using do not have a Enabled property. In Visual Basic I'd simply lock the window then unlock it until the freeze was over. I may have needed an API function to do this back in VB.
Does a Progress Bar control stop users from clicking on all other controls on a window?
What method do you use when doing these type operations where you want to stop anyone from being able to click on a control?
Thanks,
Michael
In some long running processes how can I lock the main window so no controls can be clicked on until my process is done?
I could individually disable all the controls but some controls I am using do not have a Enabled property. In Visual Basic I'd simply lock the window then unlock it until the freeze was over. I may have needed an API function to do this back in VB.
Does a Progress Bar control stop users from clicking on all other controls on a window?
What method do you use when doing these type operations where you want to stop anyone from being able to click on a control?
Thanks,
Michael