Many thanks Miro,
when what you suggested finaly made sense to me it was a great help,
however problem 2 now arises;
'eventP->data.keyDown.chr' is a WChar how do I convert it to a Char
which most of the StrXXXX functions use, I've tried this way:

WChar wch = eventP->data.keyDown.chr;
Char str[2];
str[0] = wch;
str[1] = 0;
int val = StrAToI(str);

this however is not the right way, and it only works part time it 
seems, which is a wonder I'd agree to.

is there a function that convert WChar to Char without much hassle?
(I've scimmed through the API docz without luck)


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to