Is the GSI enabled?  See the form.c source for info on how/when it gets
enabled and disabled. If the GSI is enabled, as soon as you call
GsiSetShiftState it'll draw the appropriate character.

Also, fields call GrfSetState at various times, including when they receive
focus.  Perhaps that is overriding the setting you're doing... actually now
that I look at FrmDoDialog, it does make a call to set the focus, which
(when set to a field) will cause FrmGrabFocus to call GrfSetState.

Sounds like you shouldn't use FrmDoDialog and just roll your own event
handler.  FrmDoDialog isn't magic; it is just occasionally helpful for the
simple and straightforward case.

-David Fedor
Palm Developer Support


Reply via email to