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/
 
Back
Top