rrappui.cpp
来自「symbian s60 SetttingItemList 示例」· C++ 代码 · 共 42 行
CPP
42 行
#include "rrAppUi.h"
#include "rr.hrh"
#include "rrView.h"
#include "rr.rsg"
#include "MSVSTD.HRH"
#include <avkon.hrh>
void CrrAppUi::ConstructL()
{
BaseConstructL(EAknEnableSkin);
CrrView* view = new (ELeave) CrrView;
CleanupStack::PushL( view );
view->ConstructL();
AddViewL( view);
CleanupStack::Pop( view );
iViewId = view->Id();
SetDefaultViewL(*view);
}
CrrAppUi::~CrrAppUi()
{
}
void CrrAppUi::HandleCommandL(TInt aCommand)
{
switch(aCommand)
{
case EEikCmdExit:
Exit();
break;
default:
break;
}
}
TKeyResponse CrrAppUi::HandleKeyEventL(const TKeyEvent& /*aKeyEvent*/,TEventCode /*aType*/)
{
return EKeyWasNotConsumed;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?