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

📄 rtxcontainer.h

📁 symbian系统
💻 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 + -