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/
