quickstart.hrh

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

HRH
61
字号
//
// QuickStart.hrh - Shared Rsc/C++ hdr file
//
//
// This material is provided "as is" without any warranty to its performance or functionality. 
// In no event shall the authors or publishers be liable for any damages whatsoever arising out of the
// use or inabilty to use this material. 
// 

#ifndef __QUICKSTART_HRH__
#define __QUICKSTART_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,
	EAppCmdDebugTest,
	EAppCmdLastItem
	};

// UIQ3 has concept of command priorities, this effectivly defines sort order in menus 
// This set of enums is very important to set up correctly since it effectivly defines
// our menu. The values assigned to these enums is very important - the lower the number
// the higher the priority = nearer the top of the group.
enum TAppCommandPriorities
	{
	EAppCmdDefaultPriority,
	EAppCmdDebugTestPriority,
	EAppCmdAboutPriority,
	EAppCmdLastPriority
	};

// Uiq3 has concept of groups of commands, groups are typically delimited by lines in menu
// All commands should belong to a group - and groups usually represent common command sets
// The values assigned to these enums are important, e.g. groups of commands are presented in
// group order within a menu. Within a group commands are ordered by their TAppCommandPriorities
enum TAppCommandGroupIds
	{
	EAppCmdMiscGroup,			// miscellaneous commands, help, about etc
	EAppCmdLastGroupId
	};

// Our application has controls. Controls need to be indentified via ids. 
enum TAppControlIds
	{
	EAppQuickStartPage = 1,

	// List box on the page
	EAppQuickStartList,
	EAppControlLastItem,
	
	// About control
	EAppLabel1
	};


#endif // #define __QUICKSTART_HRH__

⌨️ 快捷键说明

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