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?
Copy link to clipboard
Copied
Hi Edward,
Can you please put your OnAppFrontDocDidChange CallBack Implemented code.