Solved

Workaound exist for Custom Mouse pointer in .NET?

Posted on 2003-10-30
2
145 Views
Last Modified: 2010-05-01
Previous to VB.NET one could make custom mouse cursors but its no longer supported:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbup2036.asp

and I am aware of this API call for that worked in VB 6 but does not seem to in .NET:
http://www.mentalis.org/apilist/CreateCursor.shtml


Question: Is anyone aware of a workaround to make a custom mouse cursor while using Forms in .NET?

I tried making a PictureBox follow the cursor around on screen using a mouse move event handler but the performance was terrible.

Thanks,

Craig
0
Comment
Question by:Craig_Sparks
2 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
ID: 9652871
button1.Cursor = New System.Windows.Forms.Cursor("C:\mypath\mycursor.cur")
0
 

Author Comment

by:Craig_Sparks
ID: 9654348
Thanks much.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now