Hi

I have the following code in a event handling function for a form:
        :
        :
case sclExitEvent:
  Int16 value = pEvent->data.sclExit.value;
  Int16 newValue = pEvent->data.sclExit.newValue;
        :
        :

However, when I step through the code, both value and newValue are assigned the final 
position of the scroll bar.  So how can I determine the number of rows scrolled?  The 
documentation says:
        value: Initial position of the scroll bar
        newValue: New position of the scroll bar.  Given value and newValue, you can 
actually tell how much you have scrolled.

Any help in this regard would be greatly appreciated.
Thanks
csrins

_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com

Participate in crazy auctions at http://auctions.rediff.com/auctions/




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

Reply via email to