[PATCH 2/3 v2] oleacc: Add AccessibleObjectFromPoint implementation.
Based on a patch by Alex Henrie. Signed-off-by: Piotr Caban <piotr(a)codeweavers.com> --- dlls/oleacc/main.c | 71 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 65 insertions(+), 6 deletions(-)
It is because you have to 'drill' for focus, see https://chromium.googlesource.com/chromium/src/+/refs/heads/main/ui/accessib... for an example. Essentially, you have to keep calling accHitTest until you retrieve the actual object at the given point, and not the object it's contained within. On Thu, Nov 25, 2021 at 4:00 PM Alex Henrie <alexhenrie24(a)gmail.com> wrote:
+ while (1)
Why the loop?
-Alex
On Thu, Nov 25, 2021 at 4:11 PM Connor McAdams <conmanx360(a)gmail.com> wrote:
On Thu, Nov 25, 2021 at 4:00 PM Alex Henrie <alexhenrie24(a)gmail.com> wrote:
+ while (1)
Why the loop?
It is because you have to 'drill' for focus, see https://chromium.googlesource.com/chromium/src/+/refs/heads/main/ui/accessib... for an example. Essentially, you have to keep calling accHitTest until you retrieve the actual object at the given point, and not the object it's contained within.
Ah, I see. Thanks. -Alex
participants (3)
-
Alex Henrie -
Connor McAdams -
Piotr Caban