A progress bar is pretty easy to make.
Create the edges of the bar using three lines. For
the 'fill' use a rectangle. Change it's length to
show progress.
The progress bar that I used recently uses the
following code:
WinDrawLine(5,110,150,110);
WinDrawLine(5,125,150,125);
WinDrawLine(150,110, 150,125);
//Above draws three lines which are the boundaries of
my progress bar
rect.topLeft.x=5;
rect.topLeft.y=110;
rect.extent.y=15;
rect.extent.x=1;
WinDrawRectangle(&rect, cornerDiam);
//Above creates a rectangle with a very small width.
//To show progress change the size of the rectangle as
//shown below
rect.extent.x= index / extent;
WinDrawRectangle(&rect, cornerDiam);
Something similar should work for you.
-Joshua
--- Ruiz Camacho Rodolfo <[EMAIL PROTECTED]> wrote:
> Hi, Julio
> I use codewarrior , and I find the Progress Manager
> in Palmos.com but I don�
> know if there is an object that works like a
> progress bar, and how can in
> implement to my code so the process I run still
> works but in the palm I show
> the progress bar
>
> Thanks
>
> -----Original Message-----
> From: Julio C Moreno Ram [mailto:[EMAIL PROTECTED]
> Sent: Mi�rcoles, 08 de Septiembre de 2004 01:22 p.m.
> To: [EMAIL PROTECTED]
> Subject: RE: Progress Bar
>
> Hi, Rodolfo
>
> What tool are u using for develop the applications
> ?,
>
> JulMo
>
> >From: Ruiz Camacho Rodolfo <[EMAIL PROTECTED]>
> >Reply-To: "Palm Developer Forum"
> <[EMAIL PROTECTED]>
> >To: "Palm Developer Forum"
> <[EMAIL PROTECTED]>
> >Subject: Progress Bar
> >Date: Wed, 8 Sep 2004 09:26:50 -0500
> >
> >Hi, guys I am developing an application for palm os
> 5 and I need to show a
> >progress bar ,can anybody help me with this
> >
> >Regards
> >yoyoman
> >
> >--
> >For information on using the Palm Developer Forums,
> or to unsubscribe,
> >please see
> http://www.palmos.com/dev/support/forums/
>
>
_________________________________________________________________
> T1msn Fotos: Todo lo que quieres saber sobre
> fotograf�a digital
> http://search.t1msn.com.mx/
>
> --
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
> http://www.palmos.com/dev/support/forums/
>
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/