mtmsexample.rss

来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· RSS 代码 · 共 149 行

RSS
149
字号
/**
* 
* @brief Resource file for MtmsExample application
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

//  RESOURCE IDENTIFIER
NAME	DILG // 4 letter ID

//  INCLUDES

#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <eikon.rh>

#include "MtmsExample.hrh"
#include "MtmsExample.loc"

//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="MtmsExample"; }

RESOURCE EIK_APP_INFO
	{

	menubar=r_emccdialogbased_menubar; 
	}

//----------------------------------------------------
//   
//    r_emccdialogbased_menubar
//    options menu for the application
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_emccdialogbased_menubar
	{
	titles=
		{
		MENU_TITLE 
			{
			txt = ""; // the text is not used in Series 60
			menu_pane = r_emccdialogbased_menu_pane;
			}
		};
	}


//----------------------------------------------------
//   
//    r_emccdialogbased4_menu_pane
//    options menu pane for the application
//
//----------------------------------------------------
//
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;
                    };
                };
            }
        };
    }

// ---------------------------------------------------------
//   
//    Strings used by the application
//
// ---------------------------------------------------------
//





// End of File

⌨️ 快捷键说明

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