I posted code a couple of days (maybe up to 10) ago that showed how I
handled a "multiple select" list and table display.

Essentially in the DrawOneThingInList function you can use the itemNumber to
index into an array of states that you store, and either draw normal or
inverse the item in the list depending on it's selected state.  Check the
archives for Multiple Select List, or for my recent posts.

Paul

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mitch
Sent: Thursday, July 11, 2002 3:47 PM
To: Palm Developer Forum
Subject: Multiple Selection Lists


I'm kind of a "newbie" still, so I apologize in advance if this is
"basic"...

I don't see any  "standard" way to create a multiple selection list using
standard PalmOS resources and functions.

What would be the best way to handle an application situation that would be
well suited to a multiple-selection list?

Should I just create my own ListDrawDataFunc and maintain an array of
boolean values (selected or not) for the list elements?  Or is there a
better way?

Since I haven't done any window-level drawing, do I just do a
WinDrawInvertedChars within the bounds given to my ListDrawDataFunc to show
the list item as "selected"?

Thanks in advance,

Mitch






--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to