"M.Daulat Rai" wrote:
> 
> The prototype for the list drawing callback function is defined as:
> 
>         void ListDrawDataFuncTYpe (UInt16 itemNum,
>                                         RectanglePtr bounds, CharPtr *
itemsText)

Is it? My docs say:

void ListDrawDataFuncType (Int16 itemNum, 
     RectangleType *bounds, Char **itemsText)

(note that the third parameter is of different type than in your prototype;
and the other typo in your prototype suggests that you didn't copy&paste).

I'd expect the function to be passed what you passed to LstSetListChoices
as a 2nd argument, but I think that this is one more example of bad SDK
documentation.

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