do some type casting on it mr
: )
drawCell((VoidPtr)mytable,(UInt16)myrow,(UInt16)mycolumn,(RectanglePtr)myPtr
ToRectangleStruct);
> -----Original Message-----
> From: Dhillon, Dharm [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 25, 2001 5:58 PM
> To: Palm Developer Forum
> Subject: probelm with table
>
> Guys I want to draw strings in the table. But when I use this function
> TblSetCustomDrawProcedure it is giving me problem.
>
> The function drawCell has this prototype :
> void drawCell(VoidPtr table, UInt16 row, UInt16 column, RectanglePtr
> bounds)
>
> This error I am getting:
>
> Error : cannot convert
> 'void (*)(void *, unsigned short, unsigned short, struct RectangleType *)'
> to
> 'void (*)(void *, short, short, struct RectangleType *)'
> MainForm.c line 1121 TblSetCustomDrawProcedure(table, column,
> drawCell);
>
> Any help will be appreciated.
>
>
>
> --
> 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/