|
-
Sep 10th, 2002, 06:11 PM
#1
Thread Starter
Member
A fool wants a cursor!
Hi folks.
I've tried to change the cursor property of a control at runtime to a standard .cur file, but the cursor displayed black and white. If it is not much trouble please tell me what I've done wrong.
Code:
Me.Cursor = New System.Windows.Forms.Cursor("mine.cur")
Thanks.
-
Sep 12th, 2002, 03:00 AM
#2
Member
suggestion
Maybe it'll work when skipping the NEW word. There doesn't have to be a new instance of it, right?
or wrong?
Dozo
-
Sep 12th, 2002, 07:54 AM
#3
Frenzied Member
maybe creating a local cursor would help also and i know in vb6 you had to set the custom cursor property of the window
Magiaus
If I helped give me some points.
-
Sep 12th, 2002, 06:18 PM
#4
Thread Starter
Member
Thanks fellas for your answers.
I know only one way to create a cursor from a .cur file. Using one of the New overloads. I dont see any method or something inside the cursor class to load a cursor file.
MSDN says that custom cursor property is not supported anymore. According to MSDN I must use the Cursor.Current property, but it will not work for changing the cursor of control if your not doing a process-time-taking job.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|