again about using Hotkeys...

Login to reply to this topic.
Mon, 2006-04-10 13:01
Joined: 2005-07-07
Forum posts: 3
Hi,

I read manu topics about hotkeys, but still have some questions aboutusing hotkeys;

any generated app have the next lines in rss:

RESOURCE HOTKEYS r_some_app_hotkeys
{
   control =
   {
      HOTKEY { command = EAknCmdExit; key='e'; }
   };
}

and in it's AppUI implementation:

void CSomeAppAppUi::HandleCommandL( TInt nCommand )
{
      switch( nCommand )
      {
      case EEikCmdExit:
            Exit();
            break;
      }
}

here are the questions:

  1.  I wonder how to press 'e' key on any device?, because each key has more than   
       one value ( '3 '- 3,d,e,f  -  for example )

  2.  Did anybody notuced that in rss app use EAknCmdExit, but in AppUI   
       implementation app use  EEikCmdExit - the are differs?

  3.  In rss file to describe hotkeys app use contol

RESOURCE HOTKEYS r_some_app_hotkeys
{
   control =
   {
      HOTKEY { command = EAknCmdExit; key='e'; }
   };
}
, but may be it's better to use plain ?

4.  the most important question: hot tomake hotkeys work?

thanks

  • Login to reply to this topic.