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

📄 aknexquerytextandnumberlisteventhandler.cpp

📁 symbian中询问对话框生成的源代码 适合初学者使用。
💻 CPP
字号:
/*  Copyright (c) 2004, Nokia. All rights reserved */

// INCLUDE FILES
#include "AknExQuery.hrh"
#include "AknExQueryContainer.h"
#include "AknExQueryTextAndNumberListEventHandler.h"
#include <aknexquery.rsg>

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

// ----------------------------------------------------------------------------
// CAknExQueryTextAndNumberListEventHandler::
//     CAknExQueryTextAndNumberListEventHandler()
// Default constructor.
// ----------------------------------------------------------------------------
//
CAknExQueryTextAndNumberListEventHandler::
                                    CAknExQueryTextAndNumberListEventHandler( 
                                            CAknExQueryContainer* aContainer )
: CAknExQueryBaseListEventHandler( aContainer )
    {
    }

// ----------------------------------------------------------------------------
// CAknExQueryTextAndNumberListEventHandler::
//     ~CAknExQueryTextAndNumberListEventHandler()
// Destructor.
// ----------------------------------------------------------------------------
//
CAknExQueryTextAndNumberListEventHandler::
    ~CAknExQueryTextAndNumberListEventHandler()
    {
    }

// ----------------------------------------------------------------------------
// CAknExQueryTextAndNumberListEventHandler::HandleSelectedListItemL()
// ----------------------------------------------------------------------------
//
void CAknExQueryTextAndNumberListEventHandler::HandleSelectedListItemL( 
                                                                TInt aCommand )
    {
    switch ( aCommand )
        {
        case EAknExQueryListBoxCmdData1:
            iContainer->ShowMultiLineTextAndNumberLayoutL( 
                R_AKNEXQUERY_MULTI_LINE_DATA_AND_NUMBER_LAYOUT );
            break;
        case EAknExQueryListBoxCmdData2:
            iContainer->ShowMultiLineTextAndNumberLayoutL( 
                R_AKNEXQUERY_MULTI_LINE_CODE_AND_NUMBER_LAYOUT );
            break;
        default:
            break;
        }
    }

// End of File

⌨️ 快捷键说明

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