Hi I am drawing my list dynamically. Is there any method to change color and fonts of specific item in the list???
"Saurabh Agarwal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am using following code: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ListType* pList = 0; > Char** pListItemsStrings; > > pList = (ListType*)GetObjectPtr(nListID); > LstSetListChoices(pList, pListItemsStrings, nItemsNum); > LstDrawList(pList); > LstSetSelection(pList, 0); > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Here I am passing the List ID (from Rsc.h file), array of strings and no of > items in the lsit. This dynamically adds the items into the list and draw > the list. > > Now which method I hace to use? Palm OS API does not contain any LIST > related method for changing font and color of list items. > > Thanx for your reply. > > > "Ben Combee" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > At 07:42 AM 7/15/2004, you wrote: > > >Hello, > > > Is there any method for changing the font or color of one of the > list > > >items in the list? > > > > You could do this using a custom drawn list, since you could manually > > change the font and color before drawing an item yourself. However, Palm > > OS doesn't directly support this. > > > > > > -- Ben Combee, DTS technical lead, PalmSource, Inc. > > Read "Combee on Palm OS" at http://palmos.combee.net/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
