Need to set the mouse cursor to wait and also check to see if Esc has been pressed

  • Thread starter Thread starter Just Me
  • Start date Start date
J

Just Me

I need to set the mouse cursor to wait and also check to see if Esc has been
pressed.

To see if Esc has been pressed I do Application.DoEvents before I check a
variable that gets set in KeyboardPress if Esc is pressed.

According to the Doc calling Application.DoEvents will reset the cursor.


Do I have to set the cursor each time I do Application.DoEvents
It's an unnatural place to set it so I'm wondering if there is a way to set
the cursor so that it does not get reset by Application.DoEvents.


Thanks
 
Just me,

It should not be set, except of course that the event where it is resetted
is affected by the application do events.

I hope this helps,

Cor
 
I'm sorry but I don't understand what you mean by:
"It should not be set"

What are you suggesting I do?

Thanks
 
What are you suggesting I do?
That is my problem, that I don't know because I don't know where you set the
cursor back. However when that is an event that is fired by the do events,
than it will be done there.

Cor
 

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

Back
Top