By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,361 Members | 1,980 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,361 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
Nov 21 '05 #2

P: n/a
I'm sorry but I don't understand what you mean by:
"It should not be set"

What are you suggesting I do?

Thanks


"Cor Ligthert" <no************@planet.nl> wrote in message
news:e3**************@tk2msftngp13.phx.gbl...
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

Nov 21 '05 #3

P: n/a
>
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
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.