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

📄 popupwindow.h

📁 本例是SYMBIAN C++一个创建短信的例子
💻 H
字号:
/*
* ============================================================================
*  Name     : CPopupWindow from PicaInfoPopupWindow.h
*  Part of  : PicaClient
*  Created  : 2004-11-12 by zhao guo qing
*  Description:
*     Declares main application class.
*  Version  :
*  Copyright: mmim
* ============================================================================
*/

#ifndef __POP_WINDOW_H__
#define __POP_WINDOW_H__

//  INCLUDES
#include <aknview.h>
#include "timeouttimer.h"
// CLASS DECLARATION
/**
*  Popup window class
*/    
class CPopupWindow : public CCoeControl,
                     public	MTimeOutNotifier
{ 
public:  // Constructors and destructor
    /**
    * C++ default constructor.
    */
    CPopupWindow();

    /**
    * EPOC default constructor.
    */
    void ConstructL(const TRect& aRect);

    /**
    * Destructor.
    */
    virtual ~CPopupWindow();

public: // Functions from base classes
    /**
    * From CCoeControl, SetColoe
    * @param aColor, aColor is the color set to.
    */
    void SetColor(TRgb aColor);
	void SetShowMsg(const TDesC & msg);

private: // Functions from base classes
	
	void TimerExpired();

    /**
    * From CCoeControl,Draw.
    * @param Specified area for drawing
    */
    void Draw(const TRect& aRect) const;
   
private:  // Data
    RWindowGroup iMyWindowGroup;

	CTimeOutTimer*    iTimer;
	
	CFbsBitmap*         iIcon;
	CFbsBitmap*         iIconMask;

    TRgb iColor;
	TBuf<128> iDrawMsg;
	TInt iInernalLeft;
	TInt iMsgLen;
};

#endif // __POP_WINDOW_H__

// End of File

⌨️ 快捷键说明

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