smseditcontainer.h
来自「symbian 2rd 备忘录」· C头文件 代码 · 共 66 行
H
66 行
#ifndef __ASSISTANT_MESSAGECONTAINER_H__
#define __ASSISTANT_MESSAGECONTAINER_H__
class CEikLabel;
class CEikEdwin;
// INCLUDES
#include <aknview.h>
#include <AknSettingItemList.h> //for CAknSettingItemList
#include <aplistitemlist.h>
#include "common.h"
class CSMSEditView;
class CSMSEditContainer : public CCoeControl
{
public: // Constructors and destructor
CSMSEditContainer();
virtual ~CSMSEditContainer();
void ConstructL(const TRect& aRect,CSMSEditView* aView);
TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
void SetReadOnly(TInt aStatus);
void SetData(const TDesC& aMobile, const TDesC& aContent);
void GetData(TDes& aMobile, TDes& aContent);
void ChangeLabel();
private:
//
// Functions from base classes
void SizeChanged();
TInt CountComponentControls() const;
CCoeControl* ComponentControl( TInt aIndex ) const;
void Draw( const TRect& aRect ) const;
private:
CEikLabel* m_pLabelMobile;
CEikLabel* m_pLabelContent;
CEikEdwin* m_pEditMobile;
CEikEdwin* m_pEditContent;
CSMSEditView* m_pMessagView;
};
#endif // __ASSISTANT_MESSAGECONTAINER_H__
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?