Cursors.WaitCursor not sticking.

N

news.microsoft.com

I've got button click event that calls and does some stuff with a web service. While that is happening I'd like to have the Cursor be in "wait" mode. (i.e. Cursors.WaitCursor - the hourglass)

However - even though I set that, shortly after the web service communication begins, the cursor reverts to the default cursor.

How do I make that WaitCursor stick?

Here's my code:

Cursor.Current = System.Windows.Forms.Cursors.WaitCursor; //Cursors.WaitCursor;

Localhost.FrogBlogManager mgr = new Localhost.FrogBlogManager();

AddEntryBLL.SignSOAPMessage(ref mgr);

mgr.AddEntry(tbSubject.Text, rtbBlogBody.Text);

Cursor.Current = Cursors.Default;

I found this article attempting to explain it - but it gives no resolution.
http://www.syncfusion.com/FAQ/WinForms/FAQ_c99c.asp#q624q

Hope someone can help.

Carson
 

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

Top