S
Samuel R. Neff
I want to make my app repaint and show a wait cursor during a long
running process but not actually respond to user events. What's the
best way to implement this?
If I just put the process on another thread, the user can continue to
interact with the form. For my own code, I can have a flag in all
event handlers, but what about interaction within a control (i.e.,
expand/collapse tree nodes in treeview). If I change the Enabled
property, that affects the visual appearance of the controls, which I
don't want to do.
Any suggestions/examples?
Thanks,
Sam
running process but not actually respond to user events. What's the
best way to implement this?
If I just put the process on another thread, the user can continue to
interact with the form. For my own code, I can have a flag in all
event handlers, but what about interaction within a control (i.e.,
expand/collapse tree nodes in treeview). If I change the Enabled
property, that affects the visual appearance of the controls, which I
don't want to do.
Any suggestions/examples?
Thanks,
Sam