Поделиться через


CWnd::get_accChild

Called by the framework to retrieve the address of an IDispatch interface for the specified child.

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

Параметры

  • varChild
    Identifies the child whose IDispatch interface is to be retrieved.

  • ppdispChild
    Receives the address of the child object's IDispatch interface.

Возвращаемое значение

Returns S_OK on success, a COM error code on failure. See Return Values in IAccessible::get_accChild in the Windows SDK.

Заметки

This function is part of MFC's Active Accessibility support.

Override this function in your CWnd-derived class if you have nonwindowed user interface elements (other than windowless ActiveX controls, which MFC handles).

For more information, seeIAccessible::get_accChild in the Windows SDK.

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::get_accChildCount

CWnd::get_accParent