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

📄 helpcontainer.h

📁 自己做的Symbian小项目 可给大家参考
💻 H
字号:
#ifndef __HELPCONTAINER_H__
#define __HELPCONTAINER_H__

// INCLUDES
#include <aknview.h>
#include <coecntrl.h> // CCoeControl
#include <txtfrmat.h> // TCharFormatMask

class CRichTextEditorRichTextEditor;
class CHelpContainer : public CCoeControl
{
public: // Constructors and destructor
 	CHelpContainer();	
//	virtual ~CHelpContainer();
	void ConstructL(const TRect& aRect);
	TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );

public: // Constructors and destructor

	static CHelpContainer* NewL(const TRect& aRect);
	static CHelpContainer* NewLC(const TRect& aRect);
	~CHelpContainer();

private: // Functions from base classes
    void SizeChanged();
    TInt CountComponentControls() const;
    CCoeControl* ComponentControl( TInt aIndex ) const;
    void Draw( const TRect& aRect ) const;

	//	TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
private: // members

	void AddTextToEditorL();

private: //data

	CRichTextEditorRichTextEditor* iEditor;
};

#endif      // __HelpCONTAINER_H__
// End of File





















⌨️ 快捷键说明

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