biaofeng.hrh

来自「一个可以加载图片作为下拉菜单的symbian手机示例」· HRH 代码 · 共 77 行

HRH
77
字号
/*
 ============================================================================
 Name		: Biaofeng.hrh
 Author	  : 
 Copyright   : Your copyright notice
 Description : This file contains declarations for constants of Biaofeng.
 The file can be included in C++ or resource file.
 ============================================================================
 */
#ifndef __BIAOFENG_HRH__
#define __BIAOFENG_HRH__

#define _UID3 0xE4A1DB93

// Biaofeng enumerate command codes
enum TBiaofengIds
	{
	ECommand1 = 0x6001, // start value must not be 0
	ECommand2,
	EHelp,
	EAbout
	};
/*
STRUCT SMILEYCONTROL
    {
    BYTE mood=EHappy;
    WORD width=300;
    }
*/

//////////////////////////////////////////////////////////////////////////////      
//
// Definitions
//
// Maximum length of text item on the application data dialog
//
//////////////////////////////////////////////////////////////////////////////
#define KExampleMaxlenTextData 16 


//////////////////////////////////////////////////////////////////////////////      
//
// Command ids
// Identify all commands defined by this application.
//
//
//////////////////////////////////////////////////////////////////////////////

#define ECreateSmileyDialog    0x800

//////////////////////////////////////////////////////////////////////////////      
//
// Control ids
// Identify all controls defined and used by this application.
//
//////////////////////////////////////////////////////////////////////////////   
enum {ESmileyControlIdData};


//////////////////////////////////////////////////////////////////////////////      
//
// Define the CSmileyContainer control so it can be created as a component in a dialog           
//
//////////////////////////////////////////////////////////////////////////////   
// Assume there are less than 1000 framework controls, and they can't be defined anywhere else.      
enum {ESmileyControl=1000};


//////////////////////////////////////////////////////////////////////////////      
//
// Define the values for the "mood" resource.          
//
//////////////////////////////////////////////////////////////////////////////   
enum TSmileyMood {ESad, EHappy};

#endif // __BIAOFENG_HRH__

⌨️ 快捷键说明

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