?? stusymappui.cpp
字號:
/* Copyright (c) 2007, Nokia. All rights reserved */
#include <avkon.hrh>
#include <aknnotewrappers.h>
#include "StuSym.pan"
#include "StuSymAppUi.h"
#include "StuSymAppView.h"
#include "StuSym.hrh"
#include "MyDialog.h"
#include "stusym.rsg"
#include "BtnView.h"
void CStuSymAppUi::ConstructL( )
{
BaseConstructL(EAknEnableSkin);
// iAppView = CStuSymAppView::NewL(ClientRect( ) );
// AddToStackL(iAppView);
iBtnView = CBtnView::NewL( ) ;
AddViewL(iBtnView) ;
ipStudyView = CStudyView::NewL( );
AddViewL( ipStudyView ) ;
SetDefaultViewL(* ipStudyView ) ;
}
CStuSymAppUi::CStuSymAppUi( )
{
// add any construction that cannot leave here
iAppView = NULL ;
}
CStuSymAppUi::~CStuSymAppUi( )
{
if (iAppView)
{
// iEikonEnv->RemoveFromStack(iAppView);
delete iAppView;
iAppView = NULL;
}
}
void CStuSymAppUi::HandleCommandL(TInt aCommand)
{
TBool commandHandled = EFalse;
switch ( aCommand )
{ // code to dispatch to the AppUi's menu and CBA commands is generated here
default:
break;
}
if ( !commandHandled )
{
if ( aCommand == EAknSoftkeyExit || aCommand == EEikCmdExit)
Exit( );
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -