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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top