Thanks NG!

N Grant wrote:

Hi Yuri

I researched this a few years ago & like you found no joy with a simple way of 
doing this.

You cound scan the creatorId of each hotkey to see if you application is attached to a key 
& assume that it "might" have been launched from that hot key.

In Preferences.h you can find these key, obviously this is not all the keys.

prefHard1CharAppCreator,        // App creator for hard key #1
prefHard2CharAppCreator,        // App creator for hard key #2
prefHard3CharAppCreator,        // App creator for hard key #3
prefHard4CharAppCreator,        // App creator for hard key #4

Then you can do this

if ( PrefGetPreference ( prefHard1CharAppCreator ) != appFileCreator)

for each key.

Just an idea !!!!

NG


--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to