"Marianne" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi, > > I have a Sony Clie and I want to find the Key code for Shift key. I tried by > using keyDownEvent and finding the chr field of keyDown Struct.. It was not > of any help.. > Here is the code that I had written: > > case keyDownEvent: > frmP = FrmGetActiveForm(); > ErrAlert(eventP->data.keyDown.chr); > ErrAlert(eventP->data.keyDown.modifiers); > handled = true; > break;
I don't think there is a Palm event for changing the shift state. I haven't been able to have one. I tried to find it and when I entered the shift stroke, instead of a keyDownEvent coming, there is no new event and the shift indicator is magically updated. If you need to set the shift indicator and you're really hard up for doing it, you may be able to fake it by doing penDown, penMove( up 20 ) and penUp. Matt -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
