try with this prototype to funtion drawCell

void TableDrawItemFuncType ( VoidPtr table,
Word row, Word column, RectanglePtr bounds);



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

Reply via email to