You can use PrefSetPreference to register for the hard buttons.  
Example:
PrefSetPreference(prefHard1CharAppCreator, appCreatorType);

-Jon

--------------------------------------------
Jonathan Hays
http://hazelware.luggle.com
Palm OS Certified Developer
--------------------------------------------



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Patrick
Lucas
Sent: Friday, July 23, 2004 12:07 AM
To: Palm Developer Forum
Subject: Responding to hardware button presses


Guys

I have a program which puts an icon on the command bar when it is activated
and carries-out some action when the icon is clicked. It works perfectly!

I now wish to have it carry out the same action when a hardware button is
pressed. I immagine I have to register the program for the hardware button
and then carry-out some action when that button is pressed.

Can anyone here tell me what the functions that I need to call are?

Many thanks

Patrick




-- 
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/

Reply via email to