Is there a way I prevent user input (mouse and key events) for a control (or all controls on a panel) without disabling it
I have a smart client application where accesses to the server are done on background threads. To prevent new interaction with the controls until the running access is done, I want to prevent new events. When disabling the panel all controls "blink" in a rather anoying way (when they are greyed out and then enabled). Instead an hourglass and a progress indicator should be enough to inform the user that it is working. I also have the impression that the enable/disable screen updates affects the performance for fast server accesses.
Regards
Tomas.

Disable input to controls on a form without disabling?
klabran
Randy Jean
Thanks! Now it works fine.
perri
I created a usercontrol with BackColor=transparent,
but when I place it over another control (i.e. a button)
the button is hidden.
What am I doing wrong
Tomas.
LearnTheThings
AGK
so what can I do now
DawnJ
Apparently Refresh() requires that the Opaque control style be set for the control as well.
I've updated my page to reflect the change to the classes at http://www.peterritchie.com/Hamlet/Articles/62.aspx