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

AVAppFrontDocDidChange Question

New Here ,
Mar 22, 2016 Mar 22, 2016

Copy link to clipboard

Copied

Hello, I am trying to implement AVAppFrontDocDidChange in Adobe Reader DC 15.010.20060 When the callback is called I make the following calls:

AVWindow hWindow = AVDocGetAVWindow ( doc);

ASText titleText = ASTextNew ();

ASTextSetPDText ( titleText, szCaptionOut);

AVWindowSetTitle ( hWindow, titleText);

ASTextDestroy ( titleText);

After calling that, The titlebar of the App is never actually updated, but if i make the following call:

ASText titleTextNew = ASTextNew ();

AVWindowGetTitle ( hWindow, titleTextNew );

LPCSTR lpcszTextNew = ASTextGetEncoded(titleTextNew, 0);

It is set with the correct text.

Do I have to do anything special in Reader DC, to get it to refresh the active documents titlebar?

TOPICS
Acrobat SDK and JavaScript

Views

417

Translate

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
Community Beginner ,
Sep 25, 2018 Sep 25, 2018

Copy link to clipboard

Copied

LATEST

Hi Edward,

Can you please put your OnAppFrontDocDidChange CallBack Implemented code.

Votes

Translate

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