sendasexample.rss

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· RSS 代码 · 共 113 行

RSS
113
字号
/**
* 
* @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 + =
减小字号Ctrl + -
显示快捷键?