Lock screen?

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.
 
K

khorad

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
 
K

khorad

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
 

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