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

📄 emailexample.rss

📁 基于symbian的收发SMS、MMS消息
💻 RSS
字号:
/*
* ============================================================================
*  Name     : EMailExample.rss
*  Part of  : EmailExample
*  Created  : 09/11/2003 by Forum Nokia
*  Implementation notes:
*		Main resource for emailexample
*
*  Version  : 1.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

NAME EMAI

#include <eikon.rh>
#include <eikcore.rsg>
#include <indicato.rsg>

#include "EmailExample.rh"

#define NEWLINE 6
#define ELLIPSIS 0x2026
#define COPYRIGHT 169

#define KToolbandButtonWidth 100

#define KMaxTInt 0x7fffffff
#define KMinTInt 0x80000000

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF16 { buf="EmailExample"; }

RESOURCE EIK_APP_INFO
	{
    cba=r_emailexampleapp_cba;
	menubar=r_emailexampleapp_menubar;
	hotkeys=r_emailexampleapp_hotkeys;
	}

RESOURCE TBUF16 r_emailexampleapp_appname { buf="EmailExample"; }

RESOURCE CBA r_emailexampleapp_cba
    {
    buttons=
        {
		CBA_BUTTON { id=EEmailExampleCmdOpenEmail;	 txt="Open \nSelection"; },
		CBA_BUTTON { id=EEmailExampleCmdRemoteFetch; txt="Fetch email";		 },
		CBA_BUTTON { id=EEmailExampleCmdSettings;	 txt="Settings";	 	 },
		CBA_BUTTON { id=EEikCmdExit;				 txt="Close";		     }
		};
	}


RESOURCE DLG_BUTTONS r_choicelist
	{
	buttons=
		{
		DLG_BUTTON {id=EEikCmdExit;   button=CMBUT{ txt="Exit";   };},
		DLG_BUTTON {id=EEikBidOk;     button=CMBUT{ txt="OK";     };},
		DLG_BUTTON {id=EEikBidCancel; button=CMBUT{ txt="Cancel"; };}
		};
	}


RESOURCE HOTKEYS r_emailexampleapp_hotkeys
    {
    control=
        {
		HOTKEY {command=EEikCmdExit;     key='e';},
		HOTKEY {command=EEikCmdFileOpen; key='o';},
		HOTKEY {command=EEikCmdFileSave; key='s';}
		};
	shift_control=
		{
		HOTKEY {command=EEikCmdFileSaveAs;          key='s';},
		HOTKEY {command=EEmailExampleCmdFullScreen; key='t';}
		};
	}

RESOURCE MENU_BAR r_emailexampleapp_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_emailexampleapp_file_menu;  txt="File";  },
        MENU_TITLE { menu_pane=r_emailexampleapp_view_menu;  txt="View";  },
		MENU_TITLE { menu_pane=r_emailexampleapp_tools_menu; txt="Tools"; }
        };
    }

RESOURCE MENU_PANE r_emailexampleapp_file_menu
    {
    items=
        {
        MENU_ITEM
            {
            command=EEikCmdExit;
            txt="Close";
            }
		};
	}

RESOURCE MENU_PANE r_emailexampleapp_view_menu
	{
    items=
        {
        MENU_ITEM
            {
            command=EEmailExampleCmdFullScreen;
			flags=EEikMenuItemCheckBox;
            txt="Full screen mode";
			}
		};
	}

RESOURCE MENU_PANE r_emailexampleapp_tools_menu
	{
	items=
		{
		MENU_ITEM
			{
			command=EEmailExampleCmdOpenEmail;
			txt="Open selected email";
			},
		MENU_ITEM
			{
			command=EEmailExampleCmdRemoteFetch;
			txt="Fetch email from server";
			},
		MENU_ITEM
			{
			command=EEmailExampleCmdSettings;
			txt="Settings";
			}
		};
	}

RESOURCE DIALOG r_emailexampleapp_nopop3_dialog
	{
	flags=EEikDialogFlagWait;
	title="Error";
	buttons=r_emailexampleapp_ok_only_buttons;
    items=
		{
		DLG_LINE
			{
			type=EEikCtLabel;
			id=0;
			control=LABEL 
				{ 
				txt="There is no POP3 type account setup.\nPlease go to messaging and define a POP3 account"; 
				};
            }
		};
	}

RESOURCE DIALOG r_emailexampleapp_noimap4_dialog
	{
	flags=EEikDialogFlagWait;
	title="Error";
	buttons=r_emailexampleapp_ok_only_buttons;
    items=
		{
		DLG_LINE
			{
			type=EEikCtLabel;
			id=0;
			control=LABEL 
				{ 
				txt="There is no IMAP4 type account setup.\nPlease go to messaging and define a IMAP4 account"; 
				};
            }
		};
	}

RESOURCE DLG_BUTTONS r_emailexampleapp_ok_only_buttons
    {
    buttons=
        {
        DLG_BUTTON {id=EEikBidOk; button=CMBUT{ txt="OK";}; hotkey=EEikBidOk;}
		};
    }

RESOURCE TBUF r_emailexampleapp_app_title_remote { buf="EmailExample Remote";}

RESOURCE TBUF r_emailexampleapp_remote_canceled { buf="Remote mail fetch canceled"; }

RESOURCE TBUF r_test_string { buf="Here we are!"; }

RESOURCE DIALOG r_choicelist_dialog 
    { 
    title="Settings dialog"; 
    buttons=r_choicelist; 
    flags = EEikDialogFlagWait; 
    items = { 

        DLG_LINE 
            { 
            type=EEikCtChoiceList; 
            prompt="Protocol"; 
            id=EChoiceListEditor1; 

            //Typical choicelist editor. 
            //User can type and editor will match with the item. 
            //Can launch popout dialog to select item. 
            control=CHOICELIST 
                { 
                array_id=r_choicelistarray_list_protocols; 
                    //Id of choice array 

⌨️ 快捷键说明

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