You have to set a preference to do this. The method is PrefSetPreference
and you want to pass in one of the hard key enums from
SystemPreferencesChoice defined in Preferences.h. See the API reference
for details. Here is a sample snippet:
PrefSetPreference( prefHard3CharAppCreator, 'APPS' );
Where 'APPS' is your app's creator ID. This sets the 3rd hard key (mail
button) to launch my app.
Hope That Helps,
Aaron Hansen
"Oleg Ignatov" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
02/22/2008 10:51 AM
Please respond to
"Palm Developer Forum" <[email protected]>
To
"Palm Developer Forum" <[email protected]>
cc
Subject
Replace standard handler for hard button
Hello All,
How can I replace a standard handler for the some hard button?
I mean when user will press some hard button my application receives
special
lunch code and handles it.
Please share some code snip.
Thank you very much in advance.
--
For information on using the ACCESS Developer Forums, or to unsubscribe,
please see http://www.access-company.com/developers/forums/
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/