Check out Chars.h. vchrKeyboardNumeric is the character you need to pass
down to your event handler...use this code to do so.

static void AddKeyDownEvent( Word character )  {        
        EventType theEvent;                // Create the key down event 
        theEvent.eType = keyDownEvent;  theEvent.data.keyDown.chr =
character;
        theEvent.data.keyDown.keyCode = 0;
        theEvent.data.keyDown.modifiers = commandKeyMask;
        EvtAddEventToQueue(&theEvent); // Add the event to the event queue 
}       

You can find Chars.h in your Palm 3.5 Support/Incs/Core/System folder.
Hope that helps!
-Rus
>-----Original Message-----
>From: McKee, Kevin L. [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, June 15, 2000 7:59 AM
>To: Palm Developer Forum
>Subject: Number Pad ??
>
>
>What is the procedure for bringing up the number pad?
>IE, user clicks on a sel trigger and the number pad comes up 
>with the field
>that currently has focus so that the user can easily input 
>numbers into that
>field.
>Same thing happens as if you just pressed the 123 in the 
>graffiti area ( I
>know, why not just press graffiti 123 :) ).
>
>Thanks
>Kevin
>
>-- 
>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