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

📄 mmsdemo1maincontainer.h

📁 这是一个在symbian操作系统下编写的发送彩信的程序。
💻 H
字号:
/*
* ============================================================================
*  Name     : CMMSDemo1MainContainer from MMSDemo1MainContainer.h
*  Part of  : MMSDemo1
*  Created  : 28.10.2002 by Forum Nokia
*  Description:
*     Declares container control for application.
*  Version  :
*  Copyright: Nokia Corp. 2003
* ============================================================================
*/

#ifndef MMSDEMO1MAINCONTAINER_H
#define MMSDEMO1MAINCONTAINER_H

// INCLUDES
#include <coecntrl.h>
#include <aknlists.h>   // for Listbox
#include <eikbtgpc.h>   // for button container
   
// FORWARD DECLARATIONS
class CEikLabel;        // for example labels

// CLASS DECLARATION

/**
*  CMMSDemo1MainContainer  container control class.
*  
*/
class CMMSDemo1MainContainer : public CCoeControl, MCoeControlObserver
    {
public: // Constructors and destructor
        
        /**
        * EPOC default constructor.
        * @param aRect Frame rectangle for container.
        */
        void ConstructL(const TRect& aRect);

        /**
        * Destructor.
        */
        ~CMMSDemo1MainContainer();

public: // New functions

        //
        // Display message selection listbox
        TBool DisplayTheListboxL(CDesCArray& aList);
        //
        // Close listbox and return index of the selected message
    	TInt KillTheListboxL();
        //
        // Used to set message text attribute when message is being opened as embedded
        void SetTextL(TDesC& aText, TInt aLength);

private: // Functions from base classes

       /**
        * From CoeControl,SizeChanged.
        */
        void SizeChanged();

       /**
        * From CCoeControl,Draw.
        */
        void Draw(const TRect& aRect) const;

        // event handling section
        // e.g Listbox events
        void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType);

        
private: //data      
        CAknDoubleStyleListBox* iListBox;
        CEikButtonGroupContainer* iCba;
        
        HBufC* iBuf;

  };

#endif

// End of File

⌨️ 快捷键说明

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