>I am trying to use the slider control to implement a
>progress bar when my application plays a song.  I
>couldn't find any documentation for this UI element in
>the SDK 3.5, nor from the knowledge base from the Palm
>OS website.

That's not really what the slider is for: it is to let the user input a
value.  Like you see on the Contrast or Brightness dialogs.

Sliders are pretty well documented in the Companion volume of the SDK docs:
see the Controls section of the User Interface section.  There isn't much
to them... you just drop them on a form, set the min/max/current values,
and then watch for the events when the user changes the setting.

To do a simple animated display, you'd do better just calling
WinFillRectangle with a steadily increasing width, that all is enclosed in
an unfilled rectangle.  Less complexity, and it works on any OS revision...

-David Fedor
Palm Developer Support

-- 
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