yes, but i want trap just the function used when the user star memopad bye
sendine a pen down in memopad icon this function is SysAppLauch() or
SysUiAppSwitch()?
Mostafa
Regards
>The best way to do this is by finding a way to catch the creator ID
>of MemoPad. There are many ways MemoPad can be started, so you'll
>have to trap a function where the MemoPad creatorID is passed. You
>don't necessarily have to launch MemoPad, but as you need to determine
>whether or not MemoPad has been launched, you'll need to trap something
>that is typically called when it's launched, thus,
>DmGetNextDatabaseByTypeCreator. You could also check each method of
>calling MemoPad, too...either by the application button (least reliable)
>or by checking the database to be loaded's creator ID. Either way, be
>careful with trapping this. It could cause problems with other
>applications
>if not done exactly right.
>
>-Rus
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/