bitmapdrawview.h

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

H
57
字号
#ifndef __BITMAP_DRAWVIEW_H__
#define __BITMAP_DRAWVIEW_H__

//INCLUDES

// System includes
#include <aknview.h>	// CAknView

// FORWARD DECLARATIONS

class CBitmapDrawContainer;

/**
 *
 * @class	CBitmapDrawView BitmapDrawView.h 
 * @brief	This is a view class used to contain the BitmapDrawContainer control which
 * is used to illustrate drawing bitmaps using the a graphics context's DrawBitmap() function
 *
 * Copyright (c) EMCC Software Ltd 2003
 * @version	1.0
 * 
 */

class CBitmapDrawView: public CAknView
	{
public: // constructors and destructor
	
	static CBitmapDrawView* NewL();
	static CBitmapDrawView* NewLC();
	~CBitmapDrawView();
	
private: // from CAknView
	
	TUid Id() const;
	void HandleCommandL(TInt aCommand);

	void DoActivateL(
		const TVwsViewId& aPrevViewId,
		TUid aCustomMessageId,
		const TDesC8& aCustomMessage);
	
	void DoDeactivate();
	
private: // constructors
	
	void ConstructL();
	
private: // data
	
	CBitmapDrawContainer* iContainer; // what this view will display
	TUid iId;
	};

#endif	// __BITMAP_DRAWVIEW_H__

// End of File

⌨️ 快捷键说明

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