Skip to main content
Participant
July 20, 2020
Question

Acrobat Reader DC , IAcroAXDocShim::LoadFile() stealing focus.

  • July 20, 2020
  • 0 replies
  • 606 views

In my application I have two controls: to the left a List View Control and to the right an AcroPDFLib::IAcroAXDocShim object. The List View Control is holding PDF's that is displayed in the acrobat object then the user navigates the control.
The problem is that Acrobat is stealing focus from the List View Control when I use IAcroAXDocShim::LoadFile() when active PDF changes, making navigation by arrow keys impossible. I have tried to set focus back after LoadFile(). It’s looks like LoadFile() is asynchrony, so that did not work.
Anything I can do to prevent this from happening?
I am using Acrobat Reader DC 20.009.20074.

This topic has been closed for replies.