DispatchWithEvents & PumpWaitingMessages

P

puff

I'm working on a com automation project involving IE (yes, I know
about Pamie). I connect to IE through DispatchWithEvents, start a
navigation, and then loop calling PumpWaitingMessages. I see the
events OK and all is well. At some point it is clear that the
navigation is complete (at least insofar as IE is no longer generating
events). The code then goes off and does something else for a bit NOT
making calls to PumpWaitingMessages. A bit later, it is time to do
another navigation. Now my question.

The web page may have had some script that did stuff such as modifying
the DOM, changing the status line, navigating to another URL, closing
IE, etc. while messages were NOT being pumped. What happened to the
messages? Are they queued waiting for the next PumpWaitingMessages
call or what?
 

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

Members online

No members online now.

Forum statistics

Threads
474,283
Messages
2,571,405
Members
48,098
Latest member
inno vation

Latest Threads

Top