Loading...

Scroll Position when viewing multipage tiif (GdPicturePro5)

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Scroll Position when viewing multipage tiif (GdPicturePro5)

Postby justcode » Wed Aug 19, 2009 2:00 pm

I noticed that the scroll bar positions are reset to the center of the image when you go to the next page instead of staying where they currently are. Is this a bug or by design. You went through the trouble of adding a KeepImagePosition Property to keep the scroll position between documents but not between pages of the same tiff document????

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
Paul R. Rondeau
Sr. Software Engineer
MultiProcess Computer Corporation
User avatar
justcode
 
Posts: 24
Joined: Wed Jul 15, 2009 9:20 pm

Re: Scroll Position when viewing multipage tiif (GdPicturePro5)

Postby Loïc » Thu Aug 20, 2009 3:25 pm

Hi,

It is a bad behavior which will be fixed into the next release.

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron