Thanks for the info...

How did you implement the "readout display".  I didn't want to use a field
where they can click into, hi-light, cut&paste, etc...  What I want to do is
create an app where any time they click on a number button or enter a
graffiti stroke the number is dumped into the "readout display" on the top
of the screen.  Clicking on the "B" buton within the app or a backspace
stroke will erase the last character and clicking on the "C" button within
the app will clear the display.  How do i create this type of display (like
the one in the calculator app the is included with PalmOS).

PS.  Can I use pushbuttons instead of buttons for the calculator number
buttons and just reset them after each push so they don't "stay down".

Thanks
- Dan


> -----Original Message-----
> From: Hal Mueller [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 30, 1999 11:28 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Calculator Screen Example?
> 
> 
> 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