Solved

Workaound exist for Custom Mouse pointer in .NET?

Posted on 2003-10-30
2
148 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

813 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

17 Experts available now in Live!

Get 1:1 Help Now