hmm..  How does that affect the actual position of the scroll button?

I don't think I understand the theory well, I thought that if I wanted to
pixel scroll and I wanted the scroll button (in the bar) to scroll
accurately from top to bottom of the screen and let that correspond to the
actual page, that I need the max value to be the max value, since I use sPos
from the GetScroll function to determine where the user scrolled.

Is there another way to accomplish the same task and still keep single pixel
scrolling?

thanks - bill


"Matt Graham" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Fruber Malcome wrote:
>
> > It doesn't completely solve my problem, but I modified the code to
support
> > two pixel scrolling instead of single pixel scrolling.  That works for
the
> > time-being.
> >
> > I would love to find a way to make this work with single-pixel
scrolling.
> > (possibly via a custom scroll-bar).  Unfortunately I'm not sure how
to-do
> > that.
>
> The scrollbar values represent how the scroll bar is displayed. Those
> values don't necessarily need to be the same as what you're displaying
> with them.  You can maintain your actual scroll value and then just set
> the scroll value = actual value >> 1 or 2.
> For the scroll by 1, you could assume that a scroll event where the
> difference between value and newValue is only 1 is a 1 pixel/line scroll.
>
> -matt
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to