PC Review


Reply
Thread Tools Rate Thread

Disable background form when showing a wait cursor

 
 
New Member
Join Date: Nov 2011
Posts: 1
 
      8th Nov 2011
Hi All,
I need to disable my background form when I show a wait cursor in my windows mobile application i.e. While a cursor is running it’s not possible to press or click other buttons concerning the application.
I am using code like:
public void mnuLogin_Click(object sender, EventArgs e)
{
try
{

Cursor.Current = Cursors.WaitCursor;
Cursor.Show();
//do the processing
Cursor.Current = Cursors.Default;
Cursor.Show();
}
}
But the user is able to press the ok button and other menus in the form ..I am facing this for all forms in the applicaton. How to accomplish this...please help.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:02 PM.