This means I need to add the following code just to go to the next page in a document:
- Code: Select all
m_viewer.SetLockControl(TRUE);
m_vPos = m_viewer.GetVScrollBarPosition();
m_hPos = m_viewer.GetHScrollBarPosition();
m_viewer.DisplayNextFrame();
m_viewer.SetHScrollBarPosition(m_hPos);
m_viewer.SetVScrollBarPosition(m_vPos);
m_viewer.SetLockControl(FALSE);
m_viewer.Redraw();
Is this also a bug in V5?
CLSID: {96663DB2-110C-45A2-8B0E-9616ECB11697}
I tried it on the V4 demo app and it remembers the scroll bar position.
CLSID: {C9C356DE-E87E-4633-B3A9-344E5F821BB7}
-Paul
