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

📄 listquery.rss

📁 S60下演示列表查询的用法
💻 RSS
字号:
/**
* 
* @brief Resource file for ListQuery application
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

//  RESOURCE IDENTIFIER
NAME    QUE2 // 4 letter ID

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

#include "listquery.hrh"
#include "listquery.loc"

//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="ListQuery"; }

RESOURCE EIK_APP_INFO
	{
	cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
	menubar = r_listquery_menu_bar;
	}

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


//----------------------------------------------------
//   
//    r_listquery_menu_pane
//    options menu pane for the application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_listquery_menu_pane
	{
	items =
		{
		MENU_ITEM
			{
			command = EAknCmdExit;
			txt = EXIT_TEXT;
			}
		};
	}

//----------------------------------------------------
//   
//    r_listquery_confirmation_query
//    confirmation query for the application
//
//----------------------------------------------------
//
RESOURCE DIALOG r_listquery_confirmation_query
	{
	flags=EGeneralQueryFlags;
	buttons = R_AVKON_SOFTKEYS_YES_NO;
	items =
		{
		DLG_LINE
			{
			type = EAknCtQuery;
			id = EListQueryDlgCIdConfirmationQuery;
			control = AVKON_CONFIRMATION_QUERY
				{
				layout = EConfirmationQueryLayout;
				label = SAVE_GAME_TEXT;
				};
			}
		};
	}

//----------------------------------------------------
//   
//    r_listquery_list_query
//    list query for the application
//
//----------------------------------------------------
//
RESOURCE AVKON_LIST_QUERY r_listquery_list_query
	{
	items =
		{
		AVKON_LIST_QUERY_DLG_LINE
			{
			control = AVKON_LIST_QUERY_CONTROL
				{
				listtype = EAknCtSinglePopupMenuListBox;
				heading = SELECT_GAME_TEXT;
				listbox = AVKON_LIST_QUERY_LIST
					{
					// array of items will be defined dynamically
					};
				};
			}
		};
	}

// ---------------------------------------------------------
//   
//    Strings used by the application
//
// ---------------------------------------------------------
//
RESOURCE TBUF R_DATA_QUERY_PROMPT
	{	
	buf = DATA_QUERY_PROMPT; 
	}

// End of File

⌨️ 快捷键说明

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