categories.hrh

来自「《UIQ 3 The Complete Guide》书的源代码」· HRH 代码 · 共 73 行

HRH
73 行
字号
//
// Categories.hrh - Shared Rsc/C++ hdr file for Categories
//
// Copyright (C) UIQ Technology AB, 2007
//
// This material is provided "as is" without any warranty to its performance or functionality. 
// In no event shall UIQ Technology be liable for any damages whatsoever arising out of the
// use or inabilty to use this material. 
// 

#ifndef __CATEGORIES_HRH__
#define __CATEGORIES_HRH__

///////////////////////////////////////////////////////////////////////////////////////////////
// Menu/toolbar command ids. These are delivered to an app via the aCommand.Id()
enum TAppCommandIds
	{
	EAppCmdAbout=0x1000,	// below 0x1000 reserved for Uiq3 system use
	EAppCmdContinue,

	EAppCmdEditCategories,

	EAppCmdLastItem
	};

enum TAppCommandPriorities
	{
	EAppCmdDefaultPriority,
	EAppCmdAboutPriority,


	EAppCmdLastPriority
	};

enum TAppCommandGroupIds
	{
	EAppCmdEditGroup,
	EAppCmdMiscGroup,			// miscellaneous commands, help, about etc


	EAppCmdLastGroupId
	};

enum TAppControlIds
	{
	EAppSpecificListViewPageId1 = 1,
	EAppSpecificListViewListId1,

	EAppLabel1,

	EAppControlLastItem
	};


enum TAppCategoryIds
	{
	// if you have categories, there should always be an 'All' and 'Unfiled' category
	EAppCategoryAll,
	EAppCategoryUnfiled,

	// we have 3 app specific pre-defined categories
	EAppCategoryAustralasian,
	EAppCategoryAsian,
	EAppCategoryEuropean,

	// other categories can be created by the user

	EAppCategoryLastItem
	};

#endif // __CATEGORIES_HRH__

⌨️ 快捷键说明

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