[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 357
  • Last Modified:

Changing mouse cursor Icon

In my winform app. I would like to change the cursor to my own. How can I do this?
0
yaron89
Asked:
yaron89
2 Solutions
 
spuleCommented:
What about this?

Cursor = new Cursor(filename);

Open in new window

0
 
nandithaaCommented:
U can  try this:

this.Cursor = Cursors.WaitCursor;

Or....

Cursor = new Cursor(@"C:\Documents and Settings\User\My Documents\My Pictures\Images\Ellipse.cur");

Reference: http://msdn.microsoft.com/en-us/library/aa334950%28VS.71%29.aspx
0
 
yaron89Author Commented:
Thank you
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now