Hi..
I am trying to develop signature system for palm.
For testing, I want to display the position of pen to label.
My code looks like following:
I called display function using x and y obtained from EvtGetPen
***********
EvtGetPen( &x, &y, &penDown );
display(x,y);
*************
void display(Word x, Word y)
{
char * posx;
char * posy;
FormPtr frmP;
frmP=FrmGetActiveForm () ;
posx = StrIToA (posx, (Int32)x) ;
posy =StrIToA (posy, (Int32)y) ;
FrmCopyLabel(frmP, myx, posx);
FrmCopyLabel(frmP, myy, posy);
}
I think StrIToA function is not what I want.
Is there any guy who can tell me which function is for converting
integer(word) to string?
Any comment is great help for me..
Thanks .
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/