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

📄 cmmsssenddialog.cpp

📁 Symbian 手机发送彩信程序 mmssend
💻 CPP
字号:
/*  Copyright (c) 2004, Nokia. All rights reserved */


// INCLUDE FILES
#include <eikenv.h>
#include <mmssend.rsg>
#include <eikedwin.h>

#include <aknnotedialog.h>
#include <aknnotewrappers.h>

#include "CMmssSendDialog.h"
#include "mmssendEnum.rh"


// ================= MEMBER FUNCTIONS =======================
//
// ----------------------------------------------------------------------------
// CMmssSendDialog::CMmssSendDialog()
// Constuctor
// ----------------------------------------------------------------------------
//
CMmssSendDialog::CMmssSendDialog()
    {
    // No implementation required
    }

// ----------------------------------------------------------------------------
// CMmssSendDialog::~CMmssSendDialog()
// Destructor
// ----------------------------------------------------------------------------
//
CMmssSendDialog::~CMmssSendDialog()
    {
    // No implementation required
    }
// ----------------------------------------------------------------------------
// CMmssSendDialog::ConstructL()
// ----------------------------------------------------------------------------
//
void CMmssSendDialog::ConstructL()
    {
    // No implementation required
    }

// ----------------------------------------------------------------------------
// CMmssSendDialog::OkToExitL(TInt /*aButtonId*/)
// Check editor values before exiting from the dialog
// ----------------------------------------------------------------------------
//
TBool CMmssSendDialog::OkToExitL( TInt aButtonId )
    {
    // Translate the button presses into commands for the appui & current
    // view to handle
    if ( aButtonId == EAknSoftkeyOptions )
        {
        iAvkonAppUi->ProcessCommandL( EAknSoftkeyOptions );
        }
    else if ( aButtonId == EAknSoftkeyExit )
        {
        iAvkonAppUi->ProcessCommandL( EAknCmdExit );
        }

    return EFalse;
    }

// ----------------------------------------------------------------------------
// CMmssSendDialog::PreLayoutDynInitL()
// Initialize the send dialog. Set it editable.
// ----------------------------------------------------------------------------
//
void CMmssSendDialog::PreLayoutDynInitL()
    {
    // The dialog is defined to be editable in .rss file, but
    // to ensure this will work, we will set the form editable.
    SetEditableL( ETrue );
	}
// End of File

⌨️ 快捷键说明

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