?? rtxcontainer.h
字號:
/*
* ============================================================================
* Name : CRTxContainer from RTxContainer.h
* Part of : RTx
* Created : 2003. 08. 15. by (V) - Forum Nokia
* Description:
* Declares container control for application.
* Version :
* Copyright: Forum Nokia
* ============================================================================
*/
#ifndef RTXCONTAINER_H
#define RTXCONTAINER_H
// INCLUDES
#include <coecntrl.h>
#include <eikrted.h>
#include "mypicture.h"
// FORWARD DECLARATIONS
// CLASS DECLARATION
/**
* CRTxContainer container control class.
*
*/
class CRTxContainer : public CCoeControl
{
public: // Constructors and destructor
/**
* EPOC default constructor.
* @param aRect Frame rectangle for container.
*/
void ConstructL(const TRect& aRect);
/**
* Destructor.
*/
~CRTxContainer();
public: // Functions from base classes
private:
// New functions
// Prepare the Richtext Editor, set the Editor flags
void Prepare();
// Create Demo Content
void DemoL();
// Apply the final settings after the Editor is activated
void SetupL();
// Append Bitmap to iBitmap Array
void PrepareBitmapL(TInt32 aId);
// Call Richtext's InsertL() with the CPicture
void InsertMyPictureL(TInt aPos,TInt32 aId);
// Functions from base classes
/**
* From CoeControl,SizeChanged.
*/
void SizeChanged();
/**
* From CoeControl,CountComponentControls.
*/
TInt CountComponentControls() const;
/**
* From CCoeControl,ComponentControl.
*/
CCoeControl* ComponentControl(TInt aIndex) const;
/**
* From CCoeControl,Draw.
*/
void Draw(const TRect& aRect) const;
/**
* From CCoeControl,OfferKeyEventL.
*/
TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
private: //data
CEikRichTextEditor* iRtEd; // Rich Text Editor
CArrayFixFlat<CFbsBitmap*>* iBitmap; // Reference Array for Images
};
#endif
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -