I think what you're looking for is something like:
SysCurAppDatabase(&cardNo, &dbID);
SysNotifyRegister(cardNo, dbID,
sysNotifyDisplayChangeEvent, ¬ifyProc,0,NULL);
-Ken
On Fri, 2003-01-17 at 06:09, Steve Mann wrote:
> >>
> I'm using the SysNotifyRegister API and the 2nd argument calls for
> the local application ID. I've looked all over the Palm documents
> and can't find an explanation that I understand. How do I determine
> in my code what the local ID is? Thanks.
> >>
>
> UInt16 card;
> LocalID dbID;
> DmSearchStateType searchInfo;
> Err error = DmGetNextDatabaseByTypeCreator (
> true, &searchInfo, 'appl', YOUR_CREATOR_ID, true, &card, &dbID);
>
> Regards,
> Steve Mann
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/