shrosario Posted March 5, 2003 Posted March 5, 2003 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? Quote
*Gurus* divil Posted March 5, 2003 *Gurus* Posted March 5, 2003 I don't know why that doesn't work, but if you want to change the cursor just do this: Cursor = Cursors.Cross Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
bpayne111 Posted March 6, 2003 Posted March 6, 2003 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? Quote i'm not lazy i'm just resting before i get tired.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.