New Forum | Previous | Next | (P-PDF) Developers
Topic: adding Go to Previous View button to ActiveView
Conf: (P-PDF) Developers, Msg: 82188
Date: 3/4/2003 01:54 AM
I am trying to add a "Go to Previous View" button to the IAC ActiveView sample in the Acrobat SDK. As a test, I modified the VB6 SDK code for imgGotoFirstPage_Click() in frmMDI and replaced
r = AcroAVPageView.GoTo(0)
r = AcroAVPageView.DoGoBack
This works fine when I open a PDF inside ActiveView and navigate around in it. But if that PDF has a "Go to View" link in it to another PDF, DoGoBack will not get me back to the previous PDF. It will only let me go back to previous views within the same PDF.
I got the same result in the Visual C++ 6 version of ActiveView.
I think that somehow AVPageView.DoGoBack doesn't tell VB6/VCpp6 that it needs to re-open
a previous file. Something more is needed. Any suggestions?