<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Alex, When you are interacting with the parent on behalf of the simple
element child you can ask that parent for info about the child by using
a non-zero childID (but you can't ask the child directly because it
doesn't implement IA).&nbsp; If there was an app that added IA2 objects for
each simple element child the only way to get to the IA2 interface of
the simple element child would be to use IA2Ex implemented on the
parent to ask the parent for the IA2 object for the requested simple
element child.&nbsp; Does that make sense?&nbsp; -Pete<br>
<br>
Alexander Surkov wrote:
<blockquote
 cite="mid:faf3cb2b1002201220h290056c6yc3f0bec802255a20@mail.gmail.com"
 type="cite">
  <pre wrap="">I mean if these simple objects should implement IAccessibleSimple then
they could implement IServiceProvider instead so that IA2 object can
be obtained from the service provider. What do I miss?

Alex.


On Sun, Feb 21, 2010 at 4:00 AM, Alexander Surkov
<a class="moz-txt-link-rfc2396E" href="mailto:surkov.alexander@gmail.com">&lt;surkov.alexander@gmail.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi, Pete.

I still don't understand why do we need these methods. I must miss
some point. Could you give me an code example please?

Alex.


On Fri, Feb 19, 2010 at 11:53 AM, Pete Brunet <a class="moz-txt-link-rfc2396E" href="mailto:pete@a11ysoft.com">&lt;pete@a11ysoft.com&gt;</a> wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi Alex, A simple element is a lightweight accessible object used when
there are a lot of children, e.g. for list items. &nbsp;Events are fired from
the parent accessible with a non-zero child ID and then when the
accessible is queried it returns information for the child (simple
element). &nbsp;IA2 implementations, at least to this point, have not
implemented IA2 on simple elements and thus there has been no need for
an IA2Ex. &nbsp;-Pete
---
Alexander Surkov wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">Hi, Pete.

What is simple element? Does it implement IAccessible? Does it
implement IServiceProvider?

Alex.


On Thu, Feb 18, 2010 at 2:13 AM, Pete Brunet <a class="moz-txt-link-rfc2396E" href="mailto:pete@a11ysoft.com">&lt;pete@a11ysoft.com&gt;</a> wrote:

        </pre>
        <blockquote type="cite">
          <pre wrap="">Hi Alex, This is needed because you can't QI/QS a simple element. &nbsp;A use
case would be if the accessible is a simple element backed by an object
implementing IA2. &nbsp;As you most likely know, simple elements are only
accessible via a reference to the parent IAccessible plus a non-zero
child ID identifying a particular child simple element. &nbsp;If you had the
IAccessible, child ID pair and wanted a reference to the associated
child IA2 object then you could use objectForChild.

Does that make sense?

Pete
---
Alexander Surkov wrote:

          </pre>
          <blockquote type="cite">
            <pre wrap="">Hi, Pete.

I don't completely understand the idea of new interface. I'm looking
at examples at <a class="moz-txt-link-freetext" href="https://lists.linux-foundation.org/pipermail/accessibility-ia2/2008-June/000512.html">https://lists.linux-foundation.org/pipermail/accessibility-ia2/2008-June/000512.html</a>
and it sounds this interface is intended to do the same we do by
QueryInterface and QueryService methods (the conversion from
IAccessible to IAccessible2 and vise versa). Could you please more
details?

Thanks.
Alex.


On Wed, Feb 17, 2010 at 1:32 PM, Pete Brunet <a class="moz-txt-link-rfc2396E" href="mailto:pete@a11ysoft.com">&lt;pete@a11ysoft.com&gt;</a> wrote:


            </pre>
            <blockquote type="cite">
              <pre wrap="">Here is some background one of today's topics:

About two years ago Microsoft asked for the addition of two methods to IA2
which would be equivalent to UIA's IAccessibleEx::GetObjectForChild and
GetIAccessilbePair which translate back and forth between MSAA objects
(including simple elements) and UIA objects. &nbsp;The proposed IA2 equivalent
is:

IAccessibleSimple (or some other name like IAccessible2Ex)

// For this parent accessible, fetch a full accessible representing the
specified
// child simple element where the accessible has implemented IAccessible2
[propget] HRESULT objectForChild( [in] long childID, [out, retval]
IAccessible2 *accessible2 );

// For this accessible, fetch the parent accessible, childID pair
representing an equivalent simple element
[propget] HRESULT accessiblePair( [out] IAccessible * accessible, [out,
retval] long childID );

For background follow this link:
<a class="moz-txt-link-freetext" href="http://bugs.freestandards.org/show_bug.cgi?id=114">http://bugs.freestandards.org/show_bug.cgi?id=114</a>

--
Pete Brunet

a11ysoft - Accessibility Architecture and Development
(512) 238-6967 (work), (512) 689-4155 (cell)
Skype: pete.brunet
IM: ptbrunet (AOL, Google), <a class="moz-txt-link-abbreviated" href="mailto:ptbrunet@live.com">ptbrunet@live.com</a> (MSN)
<a class="moz-txt-link-freetext" href="http://www.a11ysoft.com/about/">http://www.a11ysoft.com/about/</a>
Ionosphere: WS4G

              </pre>
            </blockquote>
          </blockquote>
        </blockquote>
      </blockquote>
      <pre wrap="">_______________________________________________
Accessibility mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Accessibility@lists.linux-foundation.org">Accessibility@lists.linux-foundation.org</a>
<a class="moz-txt-link-freetext" href="https://lists.linux-foundation.org/mailman/listinfo/accessibility">https://lists.linux-foundation.org/mailman/listinfo/accessibility</a>

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<font color="#0060a0" face="Arial, sans-serif" size="1"><b>Pete Brunet</b></font><br>
<font color="#0060a0"><span style="text-decoration: line-through;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><br>
<font color="#333333" face="Arial, sans serif" size="1">
a11ysoft - Accessibility Architecture and Development<br>
(512) 238-6967 (work), (512) 689-4155 (cell)<br>
Skype: pete.brunet<br>
IM: ptbrunet (AOL, Google), <a class="moz-txt-link-abbreviated" href="mailto:ptbrunet@live.com">ptbrunet@live.com</a> (MSN)<br>
<a class="moz-txt-link-freetext" href="http://www.a11ysoft.com/about/">http://www.a11ysoft.com/about/</a><br>
Ionosphere: WS4G
<br>
</font>
</div>
</body>
</html>