helpcontainer.h
来自「自己做的Symbian小项目 可给大家参考」· C头文件 代码 · 共 63 行
H
63 行
#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 + =
减小字号Ctrl + -
显示快捷键?