From d670cd7c10227e9f8ce7123f022d0458360eebef Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 15 Feb 2015 22:58:34 -0500 Subject: [PATCH] Made accHitTest() on a cell always succeed, for the purposes of checking things. --- wintable/accessibility.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wintable/accessibility.h b/wintable/accessibility.h index 7290ea2..0e989c6 100644 --- a/wintable/accessibility.h +++ b/wintable/accessibility.h @@ -411,6 +411,9 @@ static HRESULT STDMETHODCALLTYPE tableAccaccHitTest(IAccessible *this, long xLef return E_FAIL; case ROLE_SYSTEM_CELL: // TODO could probably be its own code path +pvarChild->vt = VT_I4; +pvarChild->lVal = CHILDID_SELF; +return S_OK; return E_FAIL; } if (PtInRect(&r, pt) == 0) {