simpleex_ui.cpp
来自「symbian下的几个小例子。。很值得学习」· C++ 代码 · 共 46 行
CPP
46 行
// simpleEx_ui.cpp
//
// Copyright (c) Symbian Software Ltd 1999 - 2007. All rights reserved.
//
// This file contains the application UI class for SimpleEx.
#include "SimpleEx.h"
#include <e32cons.h>
void CSimpleExAppUi::ConstructL()
{
BaseConstructL(EAknEnableSkin);
iAppView = CSimpleExAppView::NewL(ClientRect());
}
CSimpleExAppUi::~CSimpleExAppUi()
{
delete iAppView;
}
void CSimpleExAppUi::HandleCommandL(TInt aCommand)
{
switch(aCommand)
{
case EAknSoftkeyExit:
case EEikCmdExit:
Exit();
break;
case ESimpleExCommand:
{
_LIT(KMessage,"Start Selected!");
iEikonEnv->AlertWin(KMessage);
break;
}
default:
;// Nothing to do here
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?