Mouse Cursor

  • Thread starter Thread starter Gas
  • Start date Start date
G

Gas

Hi,

I also want to know how to change the mouse cursor to normal,
hourglass.....etc. in runtime

thanks

Gas
 
Hi Gas,

Take a look at Cursor.Current static property. But read 'NOTE' section in
MSDN carefully. When you change the cursor to something different the
default the application will stop processing mouse events until you set it
back to Cursor.Default. That's good in some cases like (hourglasses ) If you
want to process the mouse with changed cursor, though, after assigning it
you need to call Application.DoEvents.
 
Back
Top