Lock screen?

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Is there a way to lock the Pocket PC screen in place and not accept any
input?

Once a user selects an option in my program, it takes a couple of seconds
for the processing before the next form comes up. I tried showing the Wait
cursor, but that doesn't show on the screen until right before the new
screen even though I call...

Cursor.Current = Cursors.WaitCursor
Cursor.Show()
Application.DoEvents

....right after the click.

I'd like the screen to be in an obvious "working" state during the
processing.
 
Mike said:
Once a user selects an option in my program, it takes a couple of seconds
for the processing before the next form comes up. I tried showing the Wait
cursor, but that doesn't show on the screen until right before the new
screen even though I call...

how are you switching forms?

i can almost guarantee that you are not changing the cursor before you
initiate the switch

i use wait cursors for the exact same purpose and never had a problem with
them
 
khorad said:
i can almost guarantee that you are not changing the cursor before you
initiate the switch

Oops, misread what you were saying, sorry have no idea why it doesn't work
for you. It's never caused any problem for me even without the cursor.show
and application.doevents

perhaps a really hacky way would be to set the cursor then start a timer on
a 100ms delay
then in the timer event disable the timer event and switch forms
 
Back
Top