Thread View: pilot.programmer
2 messages
2 total messages
Started by Jean-François Brière
Wed, 23 Jul 2003 20:19
CAPS button on Tungsten-C
Author: Jean-François Brière
Date: Wed, 23 Jul 2003 20:19
Date: Wed, 23 Jul 2003 20:19
14 lines
1606 bytes
1606 bytes
In a Palm application, how can I intercept the CAPS button being pressed on a Tungsten-C? Is it with a notification? Or else? It doesnt seem to be with the event manager. When I read all the events coming from the event loop ( with EvtGetEvent(&event, 1) ), pressing the CAPS button does not generate any event in my app! It must be possible: in the Memo Pad app, pressing the CAPS button change the up-arrow in the right bottom corner. Thanks! Jean-Francois
Re: CAPS button on Tungsten-C
Author: Elvin Ng
Date: Thu, 24 Jul 2003 16:11
Date: Thu, 24 Jul 2003 16:11
29 lines
2439 bytes
2439 bytes
Hi, Shift and cap key are a kind of "control keys" and they are not in the ASCII chart, I believe. You won't be able to get a keydownevent for them as they aren't sent to the target because there's no point for the field to receive a shift state. But you should be able to get the cap/shift states by calling the graffiti function GrfGetState for grfTempShiftUpper, if the key from the keyboard changes the graffiti shift state. You might even need to manupulate some of the states if you want to turn off a shift in your app. elv "Jean-Fran�ois Bri�re" <jfbriere@myway.com> wrote in message news:5edaa9b1.0307231219.73a85a96@posting.google.com... > In a Palm application, how can I intercept the CAPS button > being pressed on a Tungsten-C? > > Is it with a notification? Or else? > It doesnt seem to be with the event manager. > When I read all the events coming from the event loop > ( with EvtGetEvent(&event, 1) ), > pressing the CAPS button does not generate any event in my app! > > It must be possible: in the Memo Pad app, pressing the CAPS button > change the up-arrow in the right bottom corner. > > Thanks! > Jean-Francois
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads