Aaron,

         What version of headers is that from?  I looked in my 
UI/Keyboard.h file and all I see is this:

#ifndef __KEYBOARD_H__
#define __KEYBOARD_H__

#include <PalmTypes.h>
#include <CoreTraps.h>

#define kbdReturnKey            linefeedChr
#define kbdTabKey                       tabChr
#define kbdBackspaceKey backspaceChr
#define kbdShiftKey             2
#define kbdCapsKey              1
#define kbdNoKey                        0xff


typedef enum
         {
         kbdAlpha = 0,
         kbdNumbersAndPunc = 1,
         kbdAccent = 2,
         kbdDefault = 0xff               // based on graffiti mode (usually 
alphaKeyboard)
         } KeyboardType;


/************************************************************
  * Keyboard procedures
  *************************************************************/
#ifdef __cplusplus
extern "C" {
#endif

// At some point the Graffiti code will need access to the
// shift and caps lock info.  Either export the structures
// or provide calls to the info.

extern void SysKeyboardDialogV10 ()
                                                         
SYS_TRAP(sysTrapSysKeyboardDialogV10);

extern void SysKeyboardDialog (KeyboardType kbd)
                                                         
SYS_TRAP(sysTrapSysKeyboardDialog);


#ifdef __cplusplus
}
#endif

#endif // __KEYBOARD_H__



At 12:05 AM 11/19/2001 +0100, you wrote:
>On Sun, 18 Nov 2001, Paul Taylor wrote:
> > Actually, I've already tried sending both of those..  but I see no
> > noticeable effect.  I've tried using GrfSetState(true, true, false) to get
> > it "locked" into upcase mode for a particular field, but it doesn't seem to
> > work at all...  That's why I fell back to the method of inserting
> > characters into the queue, to emulate the user himself doing it....
>
>   you want to set the shift state?
>
>     void KbdSetShiftState(KeyboardStatus *ks, UInt16 shiftState)
>
>   :) look in UI/Keyboard.h - the shiftState can be defined as follows:
>
>===
>// Shift state flags
>#define KeyboardShiftFlag               0x0001
>#define KeyboardCapslockFlag            0x0002
>===
>
>   dunno if that will help you out *g* you have to love the headers.
>
>// az
>[EMAIL PROTECTED]
>http://www.ardiri.com/
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe, 
>please see http://www.palmos.com/dev/tech/support/forums/



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to