Well it doesn't seem to like the unsigned shorts (UInt16 by any other
name), so I'd try

  void drawCell(VoidPtr table, Int16 row, Int16 column, RectanglePtr
bounds)

instead.

"Dhillon, Dharm" wrote:
> 
> 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.

-- 
Andy Armstrong, Tagish

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