Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Workaound exist for Custom Mouse pointer in .NET?

Posted on 2003-10-30
2
Medium Priority
?
153 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

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…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

604 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