Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mouse cursor disappears

Status
Not open for further replies.

DevonTaig

Programmer
May 2, 2001
73
US
I have created a C# .dll that launches a windows form. The .dll is running inside a COM based application (ArcMap for you GIS savvy folks). From time to time, when I move my mouse over the .NET windows form, my mouse cursor strangely disappears. The problem is very sporadic, but quite annoying.

It happens perhaps 10% of the time I test the application. It seems to either happens all of the time, or none of the time (much more common). In other words, it never works to simply move my mouse outside of the .NET windows form and then re-enter the form. Another clue: If I have the left mouse button depressed as I enter the form, I can the mouse cursor.

Any ideas?
 
I think some mouse events are captured by other controls in your app. Try to set the Cursor property of the form to a specfic one for example Cursors.Hand and see if the form capture it.
-obislavu-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top