example_e1122138.rss
来自「symbian快捷方式添加的实例.3版的例子,添加快捷方式.」· RSS 代码 · 共 95 行
RSS
95 行
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 + =
减小字号Ctrl + -
显示快捷键?