Re: DoEvents Alternatives
- From: "Ahmed Hashish" <a_hashish@xxxxxxxxxxx>
- Date: Thu, 11 Jan 2007 11:30:59 +0200
the workaround doesn't solve it.
DoEvents makes the program execution loops in the mouse_move event and outs
only if the user clicks on any part of the screen. To solve this situation I
had to disable the mouse_move event on the control itself.
"Bob Butler" <tiredofit@xxxxxxxxxxx> wrote in message
news:%23fbUnqMNHHA.420@xxxxxxxxxxxxxxxxxxxxxxx
"Ahmed Hashish" <a_hashish@xxxxxxxxxxx> wrote in message
news:eBYa%23iMNHHA.320@xxxxxxxxxxxxxxxxxxxx
I don't want to use the DoEvents because it sometimes makes errors
with the transparent usercontrol I created, it causes the execution
enter the mouse_move event
BUG: Phantom MouseMove Events with a Transparent UserControl
(http://support.microsoft.com/kb/192003)
does the workaround provided in that article not solve it? maybe
disabling
that specific control before calling doevents will prevent the problem.
as
a last resort set a flag variable, call doevents and clear the flag and
have
the control ignore any mouse events while the flag is set.
--
Reply to the group so all can participate
VB.Net: "Fool me once..."
.
- References:
- DoEvents Alternatives
- From: Ahmed Hashish
- Re: DoEvents Alternatives
- From: Phill W.
- Re: DoEvents Alternatives
- From: Ahmed Hashish
- Re: DoEvents Alternatives
- From: Bob Butler
- Re: DoEvents Alternatives
- From: Ahmed Hashish
- Re: DoEvents Alternatives
- From: Bob Butler
- DoEvents Alternatives
- Prev by Date: Re: DoEvents Alternatives
- Next by Date: toolbar - unclick able problem
- Previous by thread: Re: DoEvents Alternatives
- Next by thread: Re: DoEvents Alternatives
- Index(es):
Relevant Pages
|