Well, this is how you programmatically launch MemoPad:
DmGetNextDatabaseByTypeCreator(true, NULL, sysFileTApplication,
sysFileCMemo, true, &theCardNo, &theDBID);
// Launch the Memo Pad application.
if (theDBID)
SysUIAppSwitch(theCardNo, theDBID, NULL, NULL );
sysFileCMemo is the creator ID, so take from that what you will.
You should determine what the creator ID of this new application's
database is, if it's == to sysFileCMemo, then you load your Arabic
keyboard, otherwise, just let the app run.
-Rus
>-----Original Message-----
>From: mouss mouss [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, August 29, 2000 9:14 AM
>To: Palm Developer Forum
>Subject: RE: which function is used bye system...?
>
>
>Yes Rus, i'm referring to SysAppLaunch but is not what i want...
>Exactely, i have defined one arabic keyboard, and i want to load this
>keyboard only for memo pad for exemple. so i think i must
>patch the function
>called when an app is started. i must verify if the curent
>application is
>memopad or not....
>i hope that you understand me, my english is bad :)
>please any suggestion??
>Regards
>mostafa
>
>>Are you referring to SysAppLaunch?
>>
>>-Rus
>>
>> >-----Original Message-----
>> >From: mouss mouss [mailto:[EMAIL PROTECTED]]
>> >Sent: Tuesday, August 29, 2000 8:32 AM
>> >To: Palm Developer Forum
>> >Subject: which function is used bye system...?
>> >
>> >
>> >i webt to know which function is called bye the system when we
>> >went to run
>> >one application?
>> >
>> >thanks in advence
>> >mostafa
>>
>>--
>>For information on using the Palm Developer Forums, or to
>unsubscribe,
>>please see http://www.palmos.com/dev/tech/support/forums/
>
>_______________________________________________________________
>__________
>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/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/