Skip to main content
Participant
March 22, 2016
Question

AVAppFrontDocDidChange Question

  • March 22, 2016
  • 1 reply
  • 507 views

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?

This topic has been closed for replies.

1 reply

Vijaykumar L S
Known Participant
September 26, 2018

Hi Edward,

Can you please put your OnAppFrontDocDidChange CallBack Implemented code.