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

📄 activehello.rss

📁 symbian活动对象的例子
💻 RSS
字号:
// ActiveHello.rss
//
// Copyright (c) 2002 Symbian Ltd.  All rights reserved.
//

NAME ACTV

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

#include "activehello.hrh"

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF
	{ 
	buf="";
	}

RESOURCE EIK_APP_INFO
	{
	menubar = r_activehello_menubar;
	hotkeys = r_activehello_hotkeys;
	}

RESOURCE HOTKEYS r_activehello_hotkeys
	{
    control=
        {
        HOTKEY 
			{ 
			command=EEikCmdExit;
			key='e';
			}
        };
	}

RESOURCE MENU_BAR r_activehello_menubar
	{
    titles=
        {
        MENU_TITLE 
			{
			menu_pane = r_activehello_file_menu;
			txt = "File";
			},
        MENU_TITLE
			{
			menu_pane = r_activehello_other_menu;
			txt = "Other";
			}
		};
    }

RESOURCE MENU_PANE r_activehello_file_menu
	{
	items=
		{
		MENU_ITEM
			{
			command = EEikCmdExit;
			txt = "Close (debug)";
			}
        };
    }

RESOURCE MENU_PANE r_activehello_other_menu
	{
	items=
		{
		MENU_ITEM
			{
			command = EActiveHelloCmdSetHello;
			txt = "Set hello";
			},
		MENU_ITEM
			{
			command = EActiveHelloCmdCancelHello;
			txt = "Cancel";
			},
		MENU_ITEM
			{ 
			command = EActiveHelloCmdStartFlashing;
			txt = "Start flashing";
			},
		MENU_ITEM
			{
			command = EActiveHelloCmdStopFlashing;
			txt = "Stop flashing";
			},
		MENU_ITEM
			{
			command = EActiveHelloCmdStartMultiHello;
			txt = "Start multi hello";
			},
		MENU_ITEM
			{
			command = EActiveHelloCmdCancelMultiHello;
			txt = "Stop multi hello";
			}
        };
    }
RESOURCE TBUF r_activehello_text_hello 
	{
	buf = "Hello world!";
	}

RESOURCE TBUF r_activehello_text_cancelled 
	{
	buf = "Cancelled";
	}

RESOURCE TBUF r_activehello_text_started
	{
	buf = "Started flashing";
	}

RESOURCE TBUF r_activehello_text_stopped
	{
	buf = "Stopped flashing";
	}

RESOURCE TBUF r_activehello_text_multi_started
	{
	buf = "Started multi-hello";
	}

RESOURCE TBUF r_activehello_text_multi_cancel
	{
	buf = "Cancelled multi-hello";
	}

⌨️ 快捷键说明

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