⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example_e1122138.rss

📁 symbian快捷方式添加的实例.3版的例子,添加快捷方式.
💻 RSS
字号:


NAME EXM1

#include <avkon.rh>
#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.hrh>
#include <avkon.rsg>
#include <appinfo.rh>
#include <avkon.mbg>

#include "Example_E1122138.hrh"


RESOURCE RSS_SIGNATURE
    {
    }

RESOURCE TBUF r_default_document_name
    {
    buf="";
    }


RESOURCE EIK_APP_INFO
    {
    	menubar = r_main_menubar;
	cba = r_exit_cba;
    }

// ---------------------------------------------------------
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_main_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_main_menu;
            }
        };
    }

// ---------------------------------------------------------
// ---------------------------------------------------------
//

RESOURCE MENU_PANE r_main_menu
    {
    items = 
        {
		MENU_ITEM { command=ESetLeftSK;					txt="Set Left SK"; },
		MENU_ITEM { command=ESetRightSK;					txt="Set Right SK"; },
		MENU_ITEM { command=EAknSoftkeyExit;				txt="Exit"; }
        };
    }

RESOURCE CBA r_exit_cba
{
	buttons=
	{
		CBA_BUTTON
		{
			id=EClose2;
			txt= "";//ktx_cmd_exit;
		},
		CBA_BUTTON
		{
			id=EClose2;
			txt= "";//ktx_cmd_exit;
		}
	};
}





RESOURCE LOCALISABLE_APP_INFO r_el_localisable_app_info
{
short_caption = "Shortcut Example";
caption_and_icon =
{
CAPTION_AND_ICON_INFO
{
caption = "Shortcut Example";
number_of_icons = 1; // each icon must be a bitmap/mask pair
icon_file = "\\Resource\\Apps\\Example_E1122138_aif.mif"; 

}
}; 
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -