Replace Menu.app by my own app

Login to reply to this topic.
Mon, 2005-08-22 16:23
Joined: 2004-05-26
Forum posts: 31
Hi,

My app must replace the real Menu (which starts when the Menu Key is pressed).
I do a little exe  : 
  - capture the Menu Key
  - start my app if it's not on foreground else start Phone.app

But, the problem is the real menu starts before my app and is on foreground during 1 or 2 seconds.
I want to do better... For example, with the application SmartLauncher, the real menu completely disappears.

Can I prevent the real menu to be launch ?


Thanks,
Ben

"I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone.", Bjarne Stroustrup.


Wed, 2005-08-24 07:55
Joined: 2004-05-26
Forum posts: 31
Re: Replace Menu.app by my own app
SOLUTION  Roll Eyes

CaptureKey And CaptureKeyUpAndDown :
Code:
iCaptureKeyId = iWindowGroup.CaptureKey(63570,0,0,EPrioritySupervisor);
iCaptureKeyUpAndDownsId = iWindowGroup.CaptureKeyUpAndDowns(180,0,0,EPrioritySupervisor);

Events :
KeyDown(Menu) + Key(Menu) + KeyUp(Menu) => Start Menu (my own menu)
KeyDown(Menu) + Key(Menu) + Key(Menu Repeat) => Start EikonServer (LongKey on key Menu)
   
But i don't know how launch the EikonServer ? Actually, I create an app to replace it.

Ben.

"I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone.", Bjarne Stroustrup.

Fri, 2006-11-24 14:16
Joined: 2006-10-23
Forum posts: 14
Re: Replace Menu.app by my own app
could you uploud all exampl? Grin
  • Login to reply to this topic.