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

📄 myzoneview.cpp

📁 symbian 的文件保密软件,可以把文件设置为私有或者还原为公共,私有时,别人没有权限是看不到的,还可以参照您的需求或建议为您定制软件.
💻 CPP
字号:
#include <aknviewappui.h>
#include <myzone.rsg>

#include "myzoneview.h"
#include "MyZoneContainer.h"

CMyZoneView::CMyZoneView()
{

}

CMyZoneView::~CMyZoneView()
{
	if(iContainer)
	{
		AppUi()->RemoveFromViewStack(*this,iContainer);
		delete iContainer;
		iContainer = NULL;
	}
}

void CMyZoneView::ConstructL()
{
	BaseConstructL(R_MYZONE_VIEW);
}

TUid CMyZoneView::Id()const
{
	return KMyZoneViewId;
}

void CMyZoneView::DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId, const TDesC8& aCustomMessage)
{
	if(!iContainer)
	{
		iContainer = new(ELeave)CMyZoneContainer();
		iContainer->SetMopParent(this);
		iContainer->ConstructL(ClientRect());

		AppUi()->AddToStackL(*this,iContainer);
	}
}

void CMyZoneView::DoDeactivate()
{
	if(iContainer)
	{
		AppUi()->RemoveFromViewStack(*this,iContainer);
		delete iContainer;
		iContainer = NULL;
	}
}

void CMyZoneView::HandleCommandL(TInt aCommand)
{
	switch(aCommand)
	{
	default:
		{
			AppUi()->HandleCommandL(aCommand);
		}
		break;
	}
}

void CMyZoneView::HandleClientRectChange()
{

}

void CMyZoneView::DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane)
{

}

⌨️ 快捷键说明

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