Based on a patch by Alex Henrie.
Signed-off-by: Piotr Caban piotr@codeweavers.com --- dlls/oleacc/main.c | 71 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 65 insertions(+), 6 deletions(-)
+ while (1)
Why the loop?
-Alex
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@gmail.com wrote:
- while (1)
Why the loop?
-Alex
On Thu, Nov 25, 2021 at 4:11 PM Connor McAdams conmanx360@gmail.com wrote:
On Thu, Nov 25, 2021 at 4:00 PM Alex Henrie alexhenrie24@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