btnview.h

来自「symbian下自制按钮实现」· C头文件 代码 · 共 38 行

H
38
字号
// BtnView.h: interface for the CBtnView class.
//
//////////////////////////////////////////////////////////////////////
#ifndef __BTNVIEW_HH__
#define  __BTNVIEW_HH__ 

#include <aknview.h>

class CBtnViewContainer ;

class CBtnView : public CAknView  
{
public:  //构造函数
	CBtnView();
    static CBtnView * NewL( ) ;
	static CBtnView * NewLC( ) ;
	void ConstructL(  ) ;
	virtual ~CBtnView( ) ;

public:
	 TUid Id( ) const;
	void HandleCommandL( TInt aCommand );

protected:
		// from base class CAknView
	void DoActivateL(
		const TVwsViewId& aPrevViewId,
		TUid aCustomMessageId,
		const TDesC8& aCustomMessage);
	void DoDeactivate( );
private:
	CBtnViewContainer * ipBtnViewCont ;


};

#endif // !defined(AFX_BTNVIEW_H__CBB63274_E86A_48AD_9618_74FFD79D8D25__INCLUDED_)

⌨️ 快捷键说明

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