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

📄 customctrldlgcustomcontroldialog.cpp

📁 series60 应用程序开发的源代码 series60 应用程序开发的源代码
💻 CPP
字号:
/**
* 
* @brief Definition of CCustomCtrlDlgCustomControlDialog
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

// INCLUDE FILES

// Class include
#include "CustomCtrlDlgCustomControlDialog.h"

// System includes
#include <customctrldlg.rsg>

// User includes
#include "customctrldlg.hrh" // dialog lines
#include "customctrldlgCustomControl.h" // CCustomCtrlDlgCustomControl
// ================= MEMBER FUNCTIONS =======================

/**
* Static construction and execution of the dialog. 
* @param aPlayerName the name which this dialog will edit
* @return ETrue if the dialog is dismissed with a positive action, EFalse otherwise
*/
TBool CCustomCtrlDlgCustomControlDialog::RunDlgLD ()
{
        CCustomCtrlDlgCustomControlDialog* playerNameDialog = new (ELeave) CCustomCtrlDlgCustomControlDialog();
        return playerNameDialog->ExecuteLD(R_CUSTOMCTRLDLG_CUSTOM_CONTROL_DIALOG);
}

/**
* Called by the framework when an uncrecognised type of control is found in a dialog line. 
* @param aControlType the type of control found
*/
SEikControlInfo CCustomCtrlDlgCustomControlDialog::CreateCustomControlL(TInt aControlType)
{
    SEikControlInfo controlInfo;
    controlInfo.iControl = NULL;
    controlInfo.iTrailerTextId = 0;
    controlInfo.iFlags = 0;

    switch (aControlType)
    {
    case ECustomCtrlDlgCtCustomControl:
        controlInfo.iControl = new(ELeave) CCustomCtrlDlgCustomControl;
        break;
    default:
        break;
    }
    return controlInfo;
}

// End of File

⌨️ 快捷键说明

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