Steve, Thanks for the help. I actually took a quick stab a couple of days ago at doing what you suggested but didn't get it to work yet, so if you have a snippet of code I'd love to see it.
You can see the current version of my logging software at http://home.earthlink.net/~david.ek/golog/ It's a contest logger for the Palm, and you can optionally build a hardware keying interface for doing automatic contest CW keying. It's meant for field use where you couldn't drag along a PC but still want computer logging/keying. I've used it for a few field days and some QRP field contests. 73, Dave NK0E -----Original Message----- >From: steven pautz <[EMAIL PROTECTED]> >Sent: Apr 17, 2006 8:48 AM >To: Palm Developer Forum <[email protected]> >Subject: Re: Converting from lowercase to uppercase during a keydown event > >David - > >I am a ham KB0WXK. I am interested what your software is and what it does. > >This is my suggestion for the auto conversion to upper case: > >When a lowercase character, comes in: > >Enqueue another keydown event with the capital character. >set handled = true on the lowercase character. > >The handled = true on the lowercase character would tell the OS that the >application handled the event and it will not process. > >The enqueue of the uppercase character would be promised normally and you do >not want to trap or alter this event when it comes in. So you need an 'if >lowercase' test make sure you are only trapping lowercase keydown events. > >If you need a snippit of how to enqueue an keydown event - please advise. > >SWP > >"David Ek" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> My ham radio logging software has a setting that causes all user input to >> be >> converted to uppercase and displayed that way in the input field as the >> user >> enters it. In other words, regardless of the graffiti shift state, if the >> user enters 'a' using graffiti, it will appear as 'A' in the input field. >> >> This was simple enough to do for Palm OS 4.1 and earlier--I just handled >> the >> KeyDownEvent, converted from lowercase to uppercase, and then made sure I >> left handled = false so the system would handle the input. No matter what >> I >> do for Palm OS 5.x, though, the character remains lowercase when it >> appears >> in the input field. I've tried using TxtTransliterate and verified that >> the >> character conversion took place. I also tried brute force: >> >> if (event->data.keyDown.chr == chrSmall_A) { >> event->data.keyDown.chr = chrCapital_A; >> FrmCustomAlert(InfoAlert, >> "Converted!", "", ""); >> } >> In each case, debug statements indicated that the logic was being executed >> and the character was converted, but in 5.x the lowercase character still >> appeared in the input field. What am I missing? >> >> Thanks - >> >> Dave Ek >> >> >> > > > >-- >For information on using the PalmSource Developer Forums, or to unsubscribe, >please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
