I'm doing something similar.  I give the focus to the appropriate 
field, and then accept graffiti strokes, button pushes, or popup 
keyboard strokes with this snippet.  If the focus is on the field, 
all I need to deal with is the button pushes:

                case ctlSelectEvent:

                        switch (eventP->data.ctlSelect.controlID)
                        {
                         case DMSEntryZeroButton:
                                EvtEnqueueKey('0', 0, 0);
                            break;
                         case DMSEntryOneButton:
                                EvtEnqueueKey('1', 0, 0);
                            break;
                         case DMSEntryTwoButton:
                                EvtEnqueueKey('2', 0, 0);
                            break;

----
Hal Mueller                [EMAIL PROTECTED]
Mobile Geographics LLC
Seattle, Washington        (206) 297-9575
 

Reply via email to