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

📄 welcome_appui.cpp

📁 如题 就是 这东西 为什么非要我 说到 20个 字 呢 看看这回 够 不
💻 CPP
字号:
// welcome_AppUi.cpp
//
// Copyright (c) 1999-2007 Symbian Software Ltd.  All rights reserved.
//
// $Change: 937687 $

////////////////////////////////////////////////////////////////////////
//
// Source file for the implementation of the 
// application UI class - CExampleAppUi
//
////////////////////////////////////////////////////////////////////////

// PROJECT HEADERS
#include "Welcome.h"

// The second phase constructor of the application UI class.
// The application UI creates and owns the one and only view.
//
void CExampleAppUi::ConstructL()
    {
    // BaseConstructL() completes the UI framework's
    // construction of the App UI.
    BaseConstructL();

    // Create the single application view in which to
    // draw the text, passing into it
    // the rectangle available to it.
    iAppView = CExampleAppView::NewL(ClientRect());
    }


// The app Ui owns the two views and is. 
// therefore, responsible for destroying them
CExampleAppUi::~CExampleAppUi()
    {
    delete iAppView;
    }


// Called by the UI framework when a command has been issued.
// In this example, a command can originate through a 
// hot-key press or by selection of a menu item.
// The command Ids are defined in the .hrh file
// and are 'connected' to the hot-key and menu item in the
// resource file.
// Note that the EEikCmdExit is defined by the UI
// framework and is pulled in by including eikon.hrh

void CExampleAppUi::HandleCommandL(TInt aCommand)
    {
    switch (aCommand)
        {
    // Just issue simple info messages to show that
    // the menu items have been selected
    case EExampleItem0:
        Exit();
        break;

    // Exit the application. The call is
    // implemented by the UI framework.
    case EEikCmdExit: 
        Exit();
        break;
        }
    }

⌨️ 快捷键说明

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