Nice stuff....but I got a problem when I clicked the stop button...
It permanently changes the cursor....
Is there anyway to set it so that only the specified form will display that cursor, and not the entire windows gui?
If my post has been helpful, then please rate it accordingly...
If it has solved your question(s), then don't forget to mark the thread as "[Resolved]"... thank you.
Sorry to disappoint you....but VB doesn't call the Form Unload procedure when the Stop button is clicked...
If my post has been helpful, then please rate it accordingly...
If it has solved your question(s), then don't forget to mark the thread as "[Resolved]"... thank you.
Originally posted by crptcblade Then don't do that.
If you close the program properly, the unload event will fire.
lmao...I can't help myself...sometimes I just click the blue square subconsciously....
But let's just say, for instance, that you implement the code into your program and compile it and what not and for some strange reason the process terminates (whether by OS or by Task Manager, etc.) then the user will get stuck with the cursor of your choice...
If my post has been helpful, then please rate it accordingly...
If it has solved your question(s), then don't forget to mark the thread as "[Resolved]"... thank you.
I used your Project which u posted in the above thread Cursor.Zip, i run the Project and selected some other cursor like hand symbol and exit the program, the problem is i am not able to get back my default cursor again. through out the window & outside vb or any where it showing the HandPicture as the mouse pointer, Can u please help me. bring back the mouse to its original position.
Unfortunately i miss to add the "RestoreLastCursor" function in the Form_Unload event. what's the procedure to bring it back again, i can only restart the machine, other than this, i can't do anything, because, its in the Network.
That should be pretty easy. Set the form's keypreview property to True. Then figure out where the control is on the form via scalewidth, scaleheight and the control's dimensions and then in the form's MouseMove event turn the cursor on when it's over the control and off when it's not.