W3C home > Mailing lists > Public > w3c-wai-ua@w3.org > January to March 2001

RE: Question for Tim Lacy

From: Tim Lacy <timla@microsoft.com>
Date: Wed, 28 Mar 2001 14:50:54 -0800
Message-ID: <DE8C2EEE23641143A8C0CD7705C26AE734BA7D@red-msg-03.redmond.corp.microsoft.com>
To: "Richard Schwerdtfeger" <schwer@us.ibm.com>, <w3c-wai-ua@w3.org>
"If they'd just quit shooting the pellet guns at me, I might be able to
catch the occasional cannonball as it went whistling overhead..."  :-)

No reference to your question, just a way of addressing the 216 unread
emails I am wading through.

1) I know you can get the left/top/width/height from MSAA as the
Location.  I'd assume you can also get this data from the DOM, but you'd
have to hunt around in the docs - I haven't found it yet, and our
resident expert is in Ireland for the next couple of weeks.  There may
be other ways to do this - for example, if you walk the DOM, we now
provide a QI to get to the associated MSAA node from the DOM node, and
vice versa.

2)  You can call the IHTMLDocument4::fireEvent method on an object in
the DOM.  You can look up the details at http://www.msdn.microsoft.com

So if I read this correctly, you could walk the DOM, QI it's MSAA node,
and then fire a mouseclick event against it.  Is this what you're
looking for?  I wonder why you'd need the boundingrect?  Seems easier to
walk the DOM, choose a node, and fire a mouseclick directly to it...


Tim Lacy
Accessibility Program Manager
Accessibility & Disabilities Group

-----Original Message-----
From: Richard Schwerdtfeger [mailto:schwer@us.ibm.com]
Sent: Friday, March 02, 2001 12:01 PM
To: w3c-wai-ua@w3.org
Subject: Question for Tim Lacy

This question is for Tim Lacy:

For applications that embed the IE browser within them, is it possible

First get the associated box in pixel coordinates for a DOM elemnent
(bounding rectangle in screen coordinates)?

Second two simulate the mouse event to perform a mouse click within that


Rich Schwerdtfeger
Senior Technical Staff Member
IBM Accessibility Center
Research Division
EMail/web: schwer@us.ibm.com

"Two roads diverged in a wood, and I -
I took the one less traveled by, and that has made all the difference.",
Received on Wednesday, 28 March 2001 18:36:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:30 UTC