CWnd::get_accChild

调用由框架检索一 IDispatch 接口的地址指定的子级。

virtual HRESULT get_accChild(
   VARIANT varChild,
   IDispatch **ppdispChild
);

参数

  • varChild
    标识 IDispatch 接口要检索的子级。

  • ppdispChild
    接收子对象的 IDispatch 接口的地址。

返回值

返回在成功的S_OK,在失败的COM错误代码。 在参见 IAccessible::get_accChild返回值 在 Windows SDK。

备注

此功能是MFC的 Active Accessibility 的一部分支持。

重写在您的 CWnd的此功能的派生类,如果您nonwindowed用户界面元素除了无窗口的ActiveX控件外,(,MFC句柄)。

有关更多信息,请参见 Windows SDK的IAccessible::get_accChild

要求

Header: afxwin.h

请参见

参考

CWnd 类

层次结构图

CWnd::get_accChildCount

CWnd::get_accParent