N
Neville Lang
Hi all,
I am currently developing a CF project in C# and currently working on a
desktop supporting EXE, also in C#. Using RAPI and the CeFindFirstFile /
CeFindNextFile, I am counting up the number of files with a specific
extension. This takes a bit of time and I simply wanted to display a
WaitCursor on the desktop. While I did not have any problems with cursors on
the CF, I cannot get a wait cursor to display on a window on the desktop
just before the RAPI functions take effect. I am using:
Cursor.Current = Cursors.WaitCursor;
this.lblFileBackup.Text = "Getting all chart files from the Pocket
PC...";
this.btnOK.Enabled = false;
Application.DoEvents(); // Added this in case but no
affect
and have also used
Cursor.Current = Cursors.WaitCursor;
Cursor.Show();
...
...
but still when the app runs, the default cursor (pointer) continues to
display. Is there anything I am missing in the code on the desktop side?
Regards,
Neville Lang
I am currently developing a CF project in C# and currently working on a
desktop supporting EXE, also in C#. Using RAPI and the CeFindFirstFile /
CeFindNextFile, I am counting up the number of files with a specific
extension. This takes a bit of time and I simply wanted to display a
WaitCursor on the desktop. While I did not have any problems with cursors on
the CF, I cannot get a wait cursor to display on a window on the desktop
just before the RAPI functions take effect. I am using:
Cursor.Current = Cursors.WaitCursor;
this.lblFileBackup.Text = "Getting all chart files from the Pocket
PC...";
this.btnOK.Enabled = false;
Application.DoEvents(); // Added this in case but no
affect
and have also used
Cursor.Current = Cursors.WaitCursor;
Cursor.Show();
...
...
but still when the app runs, the default cursor (pointer) continues to
display. Is there anything I am missing in the code on the desktop side?
Regards,
Neville Lang