Hi all,
Thx for your time!
I'm implementing a replacement for the system keyboard and I use the
Notification API. When user taps the "abc", I only pop up an alert by
FrmAlert(). After exit the alert by tapping "OK" button of the alert,
a warning dialog is popup and states "No Focus Warning!"
This warning dialog occurs in both the release and debug version of
the Simplified Chinese Simulator v53 DR2 (zhCN). When I test it on
either the release or debug version of English Simulator (also v53
DR2), it has no problem at all!!
Could anyone give me some hints??
Thanks!
Here is my code:
static DWord StarterPalmMain(Word cmd, Ptr cmdPBP, Word launchFlags)
{
Err error;
error = RomVersionCompatible (ourMinVersion, launchFlags);
if (error) return (error);
switch (cmd)
{
// other case....
// .....
case sysAppLaunchCmdNotify:
if (((SysNotifyParamType*)cmdPBP)->notifyType
== sysNotifyKeyboardDialogEvent)
{
FrmAlert (aSimpleAlert);
return 0;
}
}
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/