AVAppFrontDocDidChange Question
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?
