Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 09:58, 26 November 2007.

Defining the Shortcut Keys

From Forum Nokia Wiki

Shortcuts keys for application are defined in a HOTKEYS resource of .rss file of your application.


RESOURCE HOTKEYS r_yourapplicationname_hotkeys
{
	control =	
	{
		HOTKEY
		{
			command = EEikCmdExit;
			key = "e";
		}
	};
}

The application's shortcut keys are defined in a HOTKEYS resource, identified by the symbolic ID r_yourapplicationname_hotkeys, which ties in with the symbolic ID given below in the EIK_APP_INFO resource:


RESOURCE RSS_SIGNATURE { }
 
RESOURCE TBUF { buf=""; }
 
RESOURCE EIK_APP_INFO
{
	menubar = r_yourapplicationame_menubar;
	hotkeys = r_yourapplicationame_hotkeys;
}


The RSS_SIGNATURE allows to specify version information, but its not used here. The TBUF allows to specify a friendly name for default file, it is also not used here , since this isn't a file-based application.Of more interest is the EIK_APP_INFO resource, which, in this case, identifies the symbolic resource IDs of the menu and shortcut keys.

Related Discussions
Thread Thread Starter Forum Replies Last Post
How to capture Alpabatical keys sriramadasu General Symbian C++ 1 2007-06-12 09:35
Samsung X700 SmartMx Keys esunilkumare Near Field Communication 0 2007-12-19 04:40
E70: ESC and TAB keys? (remap keyboard?) swix Symbian User Interface 5 2007-02-17 23:50
keyPressed method with fullCanvas guilhem_roussel Mobile Java General 2 2003-06-09 16:35
New Carbide.ui release available! mitts Themes/Carbide.ui 17 2007-07-31 02:14
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX