processing wait icon

  • Thread starter Thread starter ED
  • Start date Start date
E

ED

VS2008, WM6 standard, smartphone.

How do you implicitly show and hide the processing wait icon (the 4-color
rotating disc) when executing a block of code?

Thanks,
ED.
 
Hey ED,

try it with System.Windows.Forms.Cursor.Show() and
System.Windows.Forms.Cursor.Hide(). Before you run the Show() method, you
should define your cursor with the System.Windows.Forms.Cursor.Current
property.


[Cursor.Show Method]
http://msdn.microsoft.com/en-us/library/system.windows.forms.cursor.show.aspx

[Cursor.Hide Method]
http://msdn.microsoft.com/en-us/library/system.windows.forms.cursor.hide.aspx

[Cursor.Current Property]
http://msdn.microsoft.com/en-us/library/system.windows.forms.cursor.current.aspx

Please feel free to ask, if you might have any questions.

Best regards,

Carsten Unterberg | Test-Framework
http://test-framework.blogspot.com/
 
Carsten,
Show() and Hide() doesn't seem to do anything on the smartphone (Probably
because it's not a touchscreen), but setting Cursor.Current did the trick.
Thanks,
ED.


Hey ED,

try it with System.Windows.Forms.Cursor.Show() and
System.Windows.Forms.Cursor.Hide(). Before you run the Show() method, you
should define your cursor with the System.Windows.Forms.Cursor.Current
property.


[Cursor.Show Method]
http://msdn.microsoft.com/en-us/library/system.windows.forms.cursor.show.aspx

[Cursor.Hide Method]
http://msdn.microsoft.com/en-us/library/system.windows.forms.cursor.hide.aspx

[Cursor.Current Property]
http://msdn.microsoft.com/en-us/library/system.windows.forms.cursor.current.aspx

Please feel free to ask, if you might have any questions.

Best regards,

Carsten Unterberg | Test-Framework
http://test-framework.blogspot.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top