You could also just pass in the address of the first element you want...

if you have list --

Char **list;
UInt numRecs;

where numRecs is the number of records in the list;

then call the function with 'list[x],numRecs-x', where x is the number of
lines you want removed from the top of the list.

Howard Shaw
Programmer
Tyrol Data Systems

----- Original Message -----
From: "Steve Mann" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, July 07, 2000 7:04 PM
Subject: Re: Just some items


> >The problem is that you still can scroll
> >up and see the first items.  What can I do for hide those first
> >items?
>
> Sounds like you're using a preconfigured list. if so, there's no way
> I know of to do what you want using just the standard Palm APIs
> without some additional code.
>
> You can, for instance, remove the items from the list array and reset
> the # of items and the array. Alternately, use a list drawing
> callback function and adjust things on the fly to hide the top items.
>
> Regards,
> Steve Mann
> --
> -------------------------------------------
> Creative Digital Publishing Inc.
> 1315 Palm Street, San Luis Obispo, CA 93401-3117
> -------------------------------------------
> 805.784.9461              805.784.9462 (fax)
> [EMAIL PROTECTED]       http://www.cdpubs.com
>
> --
> 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/

Reply via email to