Ellis Posted September 5, 2003 Posted September 5, 2003 Can anyone help? In my application I set the mouse cursor to display the WaitCursor Icon by using the following code... Cursor = System.Windows.Forms.Cursors.WaitCursor My problem is, users can still click buttons, controls etc... and the application executes the mouse click event. Is there a way to prevent user input while the mouse cursor is set to WaitCursor. Any help would be much appreciated. Quote
pjv Posted September 5, 2003 Posted September 5, 2003 Override your mouse click methods, etc and check the cursor? Generally speaking if you are doing something that takes long enough for a wait cursor, you should be providing a cancel button anyway. Another option is to disable buttons when waiting. Still not an acceptable solution IMHO. -- Pete Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.