⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s_hanim.h

📁 symbian,使用dll服务捕获按键,比设置优先级更能提高按键响应.
💻 H
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */


#ifndef __S_H_ANIM_H__
#define __S_H_ANIM_H__

// INCLUDES
#include <w32adll.h>
#include "EventQueue.h"

// CLASS DECLARATION

class CHAnim : public CWindowAnim,public MEventQueue
{
public:  // Constructors and destructors
	CHAnim();
	virtual ~CHAnim();

public:  // From CWindowAnim
	inline TInt CommandReplyL( TInt aCommand, TAny* aArgs ) { return aCommand; };
	inline void Redraw() {};
	inline void Animate( TDateTime* aDateTime ) {};
	inline void FocusChanged( TBool aState ) {};

	void ConstructL( TAny* aArgs, TBool aHasFocus );
	void Command( TInt aCommand, TAny* aArgs );
	TBool OfferRawEvent( const TRawEvent &aRawEvent );

	
public: // From MEventQuere
	virtual void EventNotify(TInt& aScanCode) ;

private:
	CEventQueue*	iTestEvent;
	TBool			iCaptureKey;
    };

#endif // __S_H_ANIM_H__

// End of File

⌨️ 快捷键说明

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