G
Guest
H
this is the code in my windows for
------------------------------------
Cursor oldCursor = Cursor.Current
tr
Cursor.Current = Cursors.WaitCursor;
...............SOME PROCESSING............
DateTime dt = DateTime.Now.AddSeconds(10);
while(dt > DateTime.Now)
//do nothing
}
finally
{
Cursor.Current = oldCursor;
above code works fine with respect to the my windows form application, wait cursor is displaying properly, but when i move mouse cursor(wait cursor) out of my application, waitcursor is changing to arrow cursor. my application crashes when i click outside
How to prevent waitcursor changing to normal cursor when the cursor is outside of my windows form
My application consists a single windows form
----need hel
--------seash
this is the code in my windows for
------------------------------------
Cursor oldCursor = Cursor.Current
tr
Cursor.Current = Cursors.WaitCursor;
...............SOME PROCESSING............
DateTime dt = DateTime.Now.AddSeconds(10);
while(dt > DateTime.Now)
//do nothing
}
finally
{
Cursor.Current = oldCursor;
above code works fine with respect to the my windows form application, wait cursor is displaying properly, but when i move mouse cursor(wait cursor) out of my application, waitcursor is changing to arrow cursor. my application crashes when i click outside
How to prevent waitcursor changing to normal cursor when the cursor is outside of my windows form
My application consists a single windows form
----need hel
--------seash