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

📄 mmsexample.rss

📁 在PC模拟器上发送短信的代码
💻 RSS
字号:
/*
* ============================================================================
*  Name     : MMSExample.rss
*  Part of  : MMSExample
*  Created  : 06.01.2006 by Forum Nokia
*  Description:
*     This is the project specification file for MMSExample.
*  Version  : 2.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

NAME MMEX

#include <eikon.rh>
#include <avkon.rh>
#include <eikon.rsg>
#include <avkon.rsg>
#include "MMSExample.hrh"

RESOURCE RSS_SIGNATURE {}

RESOURCE TBUF {buf="";}

RESOURCE EIK_APP_INFO
    {
    hotkeys=r_MMSExamples_hotkeys;
    menubar=r_MMSExample_menubar;
    cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
    }

//----------------------------------------------------
//   
//    r_MMSExamples_hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_MMSExamples_hotkeys
    {
    control=
        {
        HOTKEY { command=EAknCmdExit; key='e'; }
        };
    }

//----------------------------------------------------
//   
//    r_MMSExample_menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_MMSExample_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_MMSExample_options_menu; txt = "Options";}
        };
    }

//----------------------------------------------------
//   
//    r_MMSExample_options_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_MMSExample_options_menu
    {
    items =
        {
        MENU_ITEM { command = EMMSExampleCmdSend; txt = "Send MMS"; },
        MENU_ITEM { command = EMMSExampleCmdOpenInbox; txt = "Open Inbox"; },
        MENU_ITEM { command = EMMSExampleCmdOpenSent; txt = "Open Sent folder"; },
        MENU_ITEM { command = EClose; txt = "Close"; }
        };
    }
    
//----------------------------------------------------
//   
//    r_mmsexample_tel_number_dialog
//
//----------------------------------------------------
//
RESOURCE DIALOG r_mmsexample_tel_number_dialog
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items=
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control= AVKON_DATA_QUERY 
                { 
                layout = EPhoneLayout;
                label = "Recipient";
                control = EDWIN
                    { 
                    flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; 
                    maxlength = 100; 
                    width = 5; 
                    lines = 1; 
                    };
                };
            }
        };
    }


⌨️ 快捷键说明

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