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

📄 bookinfocontainer.h

📁 symbian系统上的记事本程序
💻 H
字号:
/*
* ============================================================================
*  Name     : CBookInfoContainer from CCoeControl, MCoeControlObserver
*  Part of  : Hello
*  Copyright (c) 2003 Nokia. All rights reserved.
* ============================================================================
*/

#ifndef BOOKINFOCONTAINER_H
#define BOOKINFOCONTAINER_H

#include <aknview.h>
#include "PHKServerBookEngine.h"

class CEikLabel;
class CEikEdwin;
class CAknNumericSecretEditor;

class CBookInfoContainer : public CCoeControl, MCoeControlObserver
{
public:
	CBookInfoContainer();
	void ConstructL(const TRect& aRect);
	virtual ~CBookInfoContainer();
	
public: 
	void FocusTo(TInt aCommand);
	
private: 
	void SizeChanged();
	TInt CountComponentControls() const;
	CCoeControl* ComponentControl(TInt aIndex) const;
	void Draw(const TRect& aRect) const;
	TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,	TEventCode aType);
	
private:
	void HandleControlEventL(CCoeControl* /*aControl*/, TCoeEvent /*aEventType*/);
public:
	void GetEditInfo(TDes& afirst,TDes& alast,TDes& atelephone);
	void EditReadonly();	
	void SetTxtInfo(TDes& first, TDes& last, TDes& telphone);
private: 
	CEikLabel* m_pFirstnameLabel;
	CEikLabel* m_pLastnameLabel;
	CEikLabel* m_TelephoneLabel;
	CEikEdwin* m_pFirstnameEdwin;
	CEikEdwin* m_pLastnameEdwin;
	CEikEdwin* m_pTelephoneEdwin;
	TInt m_ConFlag;
	
	TInt ConNum;
	
};

#endif // BOOKINFOCONTAINER_H

// End of File

⌨️ 快捷键说明

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