Registered two notifications:

   error = SysCurAppDatabase(&cardNo, &dbId);

   SysNotifyRegister(cardNo, dbId, sysNotifyMenuCmdBarOpenEvent, NULL,
sysNotifyNormalPriority, NULL);
   SysNotifyRegister(cardNo, dbId, sysNotifyKeyboardDialogEvent, NULL,
sysNotifyNormalPriority, NULL);

But can only get sysNotifyKeyboardDialogEvent notification with the
following code.

 case sysAppLaunchCmdNotify:
 {
  SysNotifyParamType *paramp = cmdPBP;

  switch (paramp->notifyType)
  {
   case sysNotifyMenuCmdBarOpenEvent:
   FrmCustomAlert(ErrorAlert, "sysNotifyMenuCmdBarOpenEvent", "","");
   break;

   case sysNotifyKeyboardDialogEvent:
   FrmCustomAlert(ErrorAlert, "sysNotifyKeyboardDialogEvent", "","");
   break;
  }
 }


Just about all other notification types worked. Is there a way that
sysNotifyMenuCmdBarOpenEvent is skipped for some reason?

Thanks
--
Alex






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

Reply via email to