Solved

Workaound exist for Custom Mouse pointer in .NET?

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

733 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