📄 sendasexample.rss
字号:
/**
*
* @brief Resource file for the SendAs Example
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// RESOURCE IDENTIFIER
NAME AWIZ // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include "sendasexample.hrh"
#include "sendasexample.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf="SendAsExample"; }
RESOURCE EIK_APP_INFO
{
menubar=r_sendasexample_menubar;
cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
}
//----------------------------------------------------
//
// r_sendasexample_menubar
// options menu for application
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_sendasexample_menubar
{
titles=
{
MENU_TITLE { menu_pane=r_sendasexample_menu; txt="File"; }
};
}
//----------------------------------------------------
//
// r_sendasexample_menu
// menu_pane for application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_sendasexample_menu
{
items=
{
MENU_ITEM
{
command = ESendAsExampleCmdSend;
txt = "Send as";
cascade = r_sendasexample_send_submenu;
},
MENU_ITEM { command=EAknCmdExit; txt="Exit"; }
};
}
RESOURCE MENU_PANE r_sendasexample_send_submenu
{
items =
{
MENU_ITEM
{
command = ESendAsExampleCmdDummy;
txt = "Unavailable";
}
};
}
RESOURCE DIALOG r_sendasexample_address_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = "Enter address";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
maxlength = ESendAsExampleMaxAddressLength;
};
};
}
};
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -