Need cursor help

shrosario

Newcomer
Joined
Oct 9, 2002
Messages
8
I'm using VB.net and I'm trying to change the cursor to a custom cursor. In the form load I'm putting this code:

Dim curNew = New Cursor(Application.StartupPath & "\cross.cur")
Me.Cursor = curNew

It makes the cursor to the shape of the cursor file, but the cursor loads all black.

How do I get the colors of the cursor to load?
 
I don't know why that doesn't work, but if you want to change the cursor just do this:

Visual Basic:
Cursor = Cursors.Cross
 
just reading the message and it brings me to an interesting thing that happened to me when i was playing with cursors...

Projects; Add Existing Item; Cursor would create a custom cursor for me and everything was lovely

File; New; Cursor would let me create the cursor file but it would never seem to save correctly,i would try and add the cursor to a different project for an experiment but it would always show up as an I-beam.
Any ideas on why that happened?
 
Back
Top