mylistboxapplication.cpp

来自「symbian界面设计.关于LISTBOX的经典的例子,适合所有初学者和爱好SY」· C++ 代码 · 共 41 行

CPP
41
字号
/*
============================================================================
 Name		: MyListBoxApplication.cpp
 Author	  : davey
 Copyright   : It is a software by davey
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "MyListBox.hrh"
#include "MyListBoxDocument.h"
#include "MyListBoxApplication.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CMyListBoxApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CMyListBoxApplication::CreateDocumentL()
	{
	// Create an MyListBox document, and return a pointer to it
	return (static_cast<CApaDocument*>
					( CMyListBoxDocument::NewL( *this ) ) );
	}

// -----------------------------------------------------------------------------
// CMyListBoxApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CMyListBoxApplication::AppDllUid() const
	{
	// Return the UID for the MyListBox application
	return KUidMyListBoxApp;
	}

// End of File

⌨️ 快捷键说明

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