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
Solved

Workaound exist for Custom Mouse pointer in .NET?

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
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…

856 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