C
Chris Williams
Hi all
<apology>
First, please forgive this cross-post: I'm not sure whether this is best
asked as a Win32 question or an Accessibility question!
</apology>
I am working on a tool that uses Microsoft Accessibility to describe the
contents of a web page (for this client, I can be sure that they're using
Internet Explorer 6). Recognising the page and enumerating its parts (table,
text, link, etc.) I have managed without too many problems but I'm stuck
when the user clicks to load another page.
I need to be able to tell when IE is in the process of loading a document
and when the load has finished. I know I can use hooks to intercept IE's
messages and have played with Spy++ in the hope of finding an obvious signal
that loading has finished. Unfortunately (or I wouldn't be here asking this
question!), I can't find such a signal.
I would appreciate any ideas that might lead to me being able to either:
1. install a hook to receive IE's messages, and look out for (and
recognise!) a 'loading' or 'loaded' signal
-or-
2. poll IE every second or two, to find out whether it is in the process of
loading anything.
The second option, if simpler, would be fine as there's no need for a
split-second reaction.
Thanks in advance
Chris.
<apology>
First, please forgive this cross-post: I'm not sure whether this is best
asked as a Win32 question or an Accessibility question!
</apology>
I am working on a tool that uses Microsoft Accessibility to describe the
contents of a web page (for this client, I can be sure that they're using
Internet Explorer 6). Recognising the page and enumerating its parts (table,
text, link, etc.) I have managed without too many problems but I'm stuck
when the user clicks to load another page.
I need to be able to tell when IE is in the process of loading a document
and when the load has finished. I know I can use hooks to intercept IE's
messages and have played with Spy++ in the hope of finding an obvious signal
that loading has finished. Unfortunately (or I wouldn't be here asking this
question!), I can't find such a signal.
I would appreciate any ideas that might lead to me being able to either:
1. install a hook to receive IE's messages, and look out for (and
recognise!) a 'loading' or 'loaded' signal
-or-
2. poll IE every second or two, to find out whether it is in the process of
loading anything.
The second option, if simpler, would be fine as there's no need for a
split-second reaction.
Thanks in advance
Chris.