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

📄 mtmsexample.rss

📁 symbian s60 第3版下的短信发送程序,实现了(发送,接收等功能)
💻 RSS
字号:
/*
============================================================================
 Name        : MtmsExample.rss
 Author      : Lion
 Copyright   : Your copyright notice
 Description : This file contains all the resources for the MtmsExample.
============================================================================
*/
//  RESOURCE IDENTIFIER
NAME MTMS    // 4 letter ID


//  INCLUDES
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <appinfo.rh>
#include "MtmsExample.hrh"
#include "MtmsExample.rls"

//  RESOURCE DEFINITIONS
// -----------------------------------------------------------------------------
//
//    Define the resource file signature
//    This resource should be empty.
//
// -----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
    {
    }

// -----------------------------------------------------------------------------
//
//    Default Document Name
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_default_document_name
    {
    buf="HEWB";
    }

// -----------------------------------------------------------------------------
//
//    Define default menu and CBA key.
//
// -----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    menubar = r_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    }


// -----------------------------------------------------------------------------
//
//   r_menubar
//   Main menubar
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_emccdialogbased_menu_pane; }
        };
    }


// -----------------------------------------------------------------------------
//
//   r_emccdialogbased_menu_pane
//   Menu for "Options"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_emccdialogbased_menu_pane
	{
	items =
		{
		MENU_ITEM
			{
			command = EMtmsExampleCmdSendSMS;
			txt = SEND_SMS_MENU_TEXT;
			},
		MENU_ITEM
			{
			command = EMtmsExampleCmdSendMMS;
			txt = SEND_MMS_MENU_TEXT;
			},
		MENU_ITEM
			{
			command = EAknCmdExit;
			txt = EXIT_TEXT;
			}
		};
	}

//----------------------------------------------------
//   
//		r_emccdialogbased_dialog
//		definition of the dialog
//		N.B. The dialog is modeless, as it is the main 
//		application window.
//
//----------------------------------------------------
//
RESOURCE DIALOG r_mtms_example_dialog
	{
	flags=EEikDialogFlagNoDrag | 
		EEikDialogFlagNoTitleBar | 
		EEikDialogFlagFillAppClientRect | 
		EEikDialogFlagCbaButtons | 
		EEikDialogFlagModeless;
	buttons=R_AVKON_SOFTKEYS_OPTIONS_BACK; 
	items=
		{
		DLG_LINE
			{
			id=EMtmsExampleDlg1Label;
			type=EEikCtLabel;
			control= LABEL { txt = LABEL_TEXT; };
			}
		};
	}


RESOURCE DIALOG r_mtms_example_address_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EPhoneLayout;
                label = ADDRESS_QUERY_CAPTION;
                control = EDWIN
                    {
                    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
                    maxlength = EMtmsExampleMaxAddressLength;
                    };
                };
            }
        };
    }
// -----------------------------------------------------------------------------
//
// Resources for messages.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF32 r_command1_text { buf=qtn_command1_text; }
RESOURCE TBUF32 r_caption_string { buf=qtn_caption_string; }

// ---------------------------------------------------------------------------- 
//
// r_localisable_app_info
//
// ---------------------------------------------------------------------------- 
//
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
    {
    short_caption = qtn_caption_string;
    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = qtn_caption_string;

        number_of_icons = 1;
	   	icon_file = "\\resource\\apps\\MtmsExample.mif";
	    };
    }

// End of File

⌨️ 快捷键说明

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