Re: How to receive events (eg. user mouse clicks) from IE
- From: "J Correia" <correiajREMOVECAPS@xxxxxxxxxxx>
- Date: Sat, 21 May 2005 17:56:31 GMT
"Roger Upole" <rupole@xxxxxxxxxxx> wrote in message
news:428f5882$1_2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> There does appear to be some sort of conflict between the two event
> hooks. I wasn't seeing it before since IE was getting google from my
> browser cache and it was coming up almost instantaneously. As soon
> as I switched the URL to a page that loads slowly, I got the same
> result.
>
> Adding win32gui.PumpWaitingMessages() to the wait loop
> seems to allow both event hooks to run without blocking each other.
>
> Roger
I added that line to the wait loop and while it does indeed speed it
up dramatically (in 10 tests: min = 13 sec; max = 33, ave ~ 20 secs)
it's still nowhere near the 1-2 secs it takes without hooking the
IE events. I also can't explain the wide differences between min
and max times since they seem to occur randomly
(e.g. min occurred on 7th run, max on 4th).
I assume that that response time won't be adequate for the original
poster's needs, due to the slowdown in browsing for his users.
Jose
.
- Follow-Ups:
- Re: How to receive events (eg. user mouse clicks) from IE
- From: Roger Upole
- Re: How to receive events (eg. user mouse clicks) from IE
- References:
- How to receive events (eg. user mouse clicks) from IE
- From: cal_2pac
- Re: How to receive events (eg. user mouse clicks) from IE
- From: Roger Upole
- Re: How to receive events (eg. user mouse clicks) from IE
- From: cal_2pac
- Re: How to receive events (eg. user mouse clicks) from IE
- From: Roger Upole
- Re: How to receive events (eg. user mouse clicks) from IE
- From: cal_2pac
- Re: How to receive events (eg. user mouse clicks) from IE
- From: Roger Upole
- How to receive events (eg. user mouse clicks) from IE
- Prev by Date: Re: count files in a directory
- Next by Date: Re: ANN: Veusz 0.6 - a scientific plotting package
- Previous by thread: Re: How to receive events (eg. user mouse clicks) from IE
- Next by thread: Re: How to receive events (eg. user mouse clicks) from IE
- Index(es):
Relevant Pages
|