simplecontrol.h

来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· C头文件 代码 · 共 42 行

H
42
字号
#ifndef __SIMPLECONTROL_H__
#define __SIMPLECONTROL_H__

// INCLUDES
#include <coecntrl.h>	// CCoeControl

// FORWARD DECLARATIONS

// CLASS DECLARATION

/**
*
* @class	CSimpleControl SimpleControl.h 
* @brief	This is a simple control
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
* 
*/
class CSimpleControl : public CCoeControl
	{
public: // constructors and destructor

	static CSimpleControl* NewL(const TRect& aRect, const CCoeControl* aParent);
	static CSimpleControl* NewLC(const TRect& aRect, const CCoeControl* aParent);
	~CSimpleControl();
	
private: // constructor

	void ConstructL(const TRect& aRect, const CCoeControl* aParent);

private: // from CoeControl
	void Draw(const TRect& aRect) const;
	void SizeChanged();
	
private: // data
	};

#endif	// __SIMPLECONTROL_H__

// End of File

⌨️ 快捷键说明

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