CWnd::get_accParent

Called by the framework to retrieve the IDispatch interface of the object's parent.

virtual HRESULT get_accParent(
   IDispatch **ppdispParent
);

Параметры

  • ppdispParent
    Receives the address of the parent object's IDispatch interface. The variable is set to NULL if no parent exists, or if the child cannot access its parent.

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

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

Заметки

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

In most cases you don't have to override this function.

For more information, see IAccessible::get_accParent in the Windows SDK.

Требования

Header: afxwin.h

См. также

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

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::get_accChild