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

📄 studyviewcontainer.cpp

📁 symbian下自制按钮实现
💻 CPP
字号:
// StudyViewContainer.cpp: implementation of the CStudyViewContainer class.
//
//////////////////////////////////////////////////////////////////////

#include "StudyViewContainer.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CStudyViewContainer::CStudyViewContainer()
{
   
}

CStudyViewContainer::~CStudyViewContainer()
{

}
 
CStudyViewContainer* CStudyViewContainer::NewL(const TRect& aRect, const CCoeControl* aParent)
{
    CStudyViewContainer * self = CStudyViewContainer::NewLC(aRect,aParent ) ;
	CleanupStack::Pop( self ) ;
	return self ;
}

CStudyViewContainer* CStudyViewContainer::NewLC(const TRect& aRect, const CCoeControl* aParent)
{
    CStudyViewContainer * self = new(ELeave)CStudyViewContainer( ) ;
	CleanupStack::PushL( self) ;
    self->ConstructL(aRect , aParent) ;
	return self ;

}

void  CStudyViewContainer::ConstructL(const TRect& aRect, const CCoeControl* aParent)
{
  
	if ( !aParent )
	{
    	CreateWindowL();
    }
    else
    {
        SetContainerWindowL( *aParent );

    }

    SetRect( aRect );
	ActivateL( );
}

void CStudyViewContainer::Draw( const TRect& aRect ) const
{

    CWindowGc& gc = SystemGc();
	gc.Clear( aRect );

}

⌨️ 快捷键说明

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