Skip to main content

Mouse Cursor Hide , Show Wait Cursor in Windows Mobile


Cursor.Current = Cursors.WaitCursor;
Cursor.Hide();

//---------------

Cursor.Current = Cursors.Default;
Cursor.Show(); 

Comments

Unknown said…
Any Idea on How we can make Cursor busy in ASP.NET button click event?
b said…
cant we use this style tag to change the cursor in ASP.NET
style="cursor:wait"
Ankitha said…
I have a situation something like this for a device application in compact framework

I need to hide the cursor on click button

button_click()
{
Cursor.Hide();
//Do something....
Cursor.Show()
}

But this works in Windows not in compact framework.

Any help on this...
b said…
yeh it is true
You need to use current cursor pls refere the post
Unknown said…
this work in windows but not in asp.net project plz help
b said…
@ Engr. Mir Sadequr Rahman ,

It is true, this is for windows for ASP.NET you can either use JQuery or CSS to do that