I had this problem before, I think it is a bug in the constructor.
About the first problem one work around is set the slider values
programmatically with CtlSetSliderValues. About the second problem I don't
know.
Good Luck!
Marcelo
-----Original Message-----
From: JJ [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 12, 2000 11:42 AM
To: Palm Developer Forum
Subject: slider problem
Anyone using the slider or feedback slider control in PalmOS 3.5? I'm
having two problems trying to implement them.
The first problem: my slider range is 0-360 as set in Constructor.
However, the value returned by both ctlRepeatEvent and ctlSelectEvent is
increments of 256 instead of 1. Byte ordering problem? Since the value
is UInt16, I cannot just divide by 256 to work around this issue.
Second problem: I've created my own bitmaps for the thumb and the
background. No problem on the background, but I cannot get the thumb to
display. No errors, just no thumb.
Using CW on Windows.
Any ideas?
JJ
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/