Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

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

New Here ,
Jul 20, 2020 Jul 20, 2020

Copy link to clipboard

Copied

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.

TOPICS
General troubleshooting

Views

541
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation