Link to home
Start Free TrialLog in
Avatar of madmare
madmareFlag for Israel

asked on

Cursor shape in C#

hi,
 how do i change the Cursor shape in code, the shape now is the defult shape, i want to change it to be a rectangle shape

thnx
Avatar of RoninThe
RoninThe

there are few cursors available in System.Windows.Forms.Cursors class
you may set the Cursor property to whatever value you may like among those.

e.g.
this.Cursor = System.Windows.Forms.Cursors.WaitCursor;

but there isn't any rectangular cursor availabale in Cursors class as you asked.

Avatar of madmare

ASKER

is there is any way to appear my Cursor as a Rectangle ?
ASKER CERTIFIED SOLUTION
Avatar of mcv22
mcv22
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Correct answer provided. Award points