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

📄 gotopagedialog.cpp

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

#include "GoToPageDialog.h"

#include "Pdf.hrh"
#include <Pdf.rsg>

#include <eikdialog.h>

class CGoToPageDialogImp: public CEikDialog
	{
public:
	CGoToPageDialogImp(TInt& aPage, TInt aMaxPage)
		:iPage(aPage), iMaxMage(aMaxPage)
	{}
private:
	void PreLayoutDynInitL();
	TBool OkToExitL(TInt aButtonId);
private:
	TInt& iPage;
	Tint iMaxPage;
	};

void CGoToPageDialogImp::PreLayoutDynInitL()
	{
	// etc.		
	}

// Implementation of the static method
TBool GoToPageDialog::RunDlgLD(TInt& aPage, TInt aMaxPage)
	{
	CEikDialog* imp = new(ELeave) CGoToPageDialogImp(aPage, aMaxPage);
	return imp->ExecuteLD(R_GO_TO_PAGE_DIALOG);
	}

⌨️ 快捷键说明

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