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

📄 pdfckonappui.cpp

📁 Symbian界面设计的C++源代码例子:Designing and building portable UIs for Symbian OS: Using a controller as a por
💻 CPP
字号:
//
// PdfCKONAppUi.cpp
//

#include "PdfCKONappUi.h"

// UI
#include "PdfController.h"
#include "PdfCKONAppView.h"

void CPdfCKONAppUi::ConstructL()
	{
	// Other statements

	// Create the controller
    iController = CPdfController::NewL();

	// Create the appview
    iAppView = new(ELeave) CPdfCKONAppView();
    iAppView->SetController(iController);
    // etc

	// Tell the controller about the appview
	iController->SetAppView(iAppView);
	}


void CPdfCKONAppUi::HandleCommandL(TInt aCommandId)
	{
	switch (aCommandId)
		{
	case EEikCmdExit:
		ExitL();
		break;

	// CKON-specific commands
	case EEikCmdFileOpen:
		CmdFileOpenL();
		break;

	// Handle common commands
	default:
		iController->HandleCommandL(aCommand);
		break;
		}
	}

⌨️ 快捷键说明

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