Cursor.Current returns null in my application and HotSpot.X and HotSpot.Y returns 0 and mouse cursor disappears
karthi keyan
1
Reputation point
Cursor.Current returns null in my application and HotSpot.X and HotSpot.Y returns 0 and mouse cursor disappears
Note: I am not having any customized cursor.
am having google mapwebview control in my form, am doing pinch -zoom in and zoomout through touchscreenlaptop and clicking F6 key to open another window. the cursor disappears.
I tried the following piece of code, but it's not working
if(Cursor.Current == null)
{
//Cursor.Current = Cursors.WaitCursor;
Cursor cur = Cursors.Arrow;
this.Cursor = cur;
}