-
restricting mouse click
hi everyone,
in my program, i am waiting another process in a while loop.
during this time, i am changing the mousepointer to hourglass. but the mouse can still click on the buttons on the form. this causes problems to appear since i am waiting something else to finish.
i want to know, how to disable the mouse click to anything in the program, and then enable of course.
thanks alot...:)
-
Can't you just set the form's enabled property to false to stop user interaction, and then to true when you want to let them interact again?