cmmsssenddialog.cpp
来自「Symbian 手机发送彩信程序 mmssend」· C++ 代码 · 共 78 行
CPP
78 行
/* 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 + =
减小字号Ctrl + -
显示快捷键?