> void SetMaxScrollBar(short setVal)
> {
> short val=0,minVal=0,maxVal=0,pageSize=0;
> ScrollBarPtr
> sclPtr=(ScrollBarPtr)GetObjectPtr(Resource2SkillScrollBar);
> SclGetScrollBar(sclPtr,&val,&minVal,&maxVal,&pageSize);
> SclSetScrollBar(sclPtr,val,minVal,setVal,pageSize);
> return;
> }
Looks reasonable so far..
> I am calling this function like this-->
> SetMaxScrollBar(20);
Ah! Now my question: What are your initial scroll bar settings? Did you
leave them defaults, and now you're trying to set a combination of
valid/invalid data? What happens when you set a scrollbar to a page size of
0?
-P
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
- *&@#!! Some amazing problems ! Rajesh Patidar
- Re: *&@#!! Some amazing problems ! Aaron Ardiri
- Re: *&@#!! Some amazing problems ! Richard Hartman
- RE: *&@#!! Some amazing problems ! Nesse, Rustin
- Re: *&@#!! Some amazing problems ! Paul Bohme
- Re: *&@#!! Some amazing problems ! Richard Hartman
- Re: *&@#!! Some amazing problems ! Aaron Ardiri
- RE: *&@#!! Some amazing problems ! Nesse, Rustin
- RE: *&@#!! Some amazing problems ! Nesse, Rustin
- Re: *&@#!! Some amazing problems ! Grounderyoyo22
- Re: *&@#!! Some amazing problems ! Richard Burmeister
- Re: *&@#!! Some amazing problems ! Rajesh Patidar
- Re: *&@#!! Some amazing problems ! Holger Klawitter
- Re: *&@#!! Some amazing problems ! Holger Klawitter
- Re: *&@#!! Some amazing problems ! Rajesh Patidar
