Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <EIKMSG.H>
Link against: eikcore.lib

Class CEikMsgWin

class CEikMsgWin : public CBase;

Description

Base class providing functions to construct and display an information message.

Derivation

Members

Defined in CEikMsgWin:

Inherited from CBase:


Construction and destruction


CEikMsgWin(CEikonEnv &)

protected: IMPORT_C CEikMsgWin(CEikonEnv &aEikonEnv);

Description

Protected constructor.

Parameters

CEikonEnv &aEikonEnv

The Uikon environment for which the information message is constructed.


ConstructL(RWindowGroup &)

IMPORT_C void ConstructL(RWindowGroup &aWindowGroup);

Description

Completes construction.

Parameters

RWindowGroup &aWindowGroup

The window group for which the information message is constructed.


~CEikMsgWin()

IMPORT_C virtual ~CEikMsgWin();

Description

Destructor.

[Top]


Member functions


StartDisplay(const TDesC &,TGulAlignment)

IMPORT_C void StartDisplay(const TDesC &aText, TGulAlignment aCorner);

Description

Displays the message window with the specified text and alignment.

Parameters

const TDesC16 &aText

The text to display in the message.

TGulAlignment aCorner

The position in which the message window will appear. There are 9 options for this, each square of a 3 by 3 matrix on the screen.


CancelDisplay()

IMPORT_C void CancelDisplay();

Description

Stops displaying the message window.


CEikMsgWin_Reserved1()

private: IMPORT_C virtual void CEikMsgWin_Reserved1();

Description


CEikMsgWin_Reserved2()

private: IMPORT_C virtual void CEikMsgWin_Reserved2();

Description


DoStartDisplay(const TDesC &)

private: virtual void DoStartDisplay(const TDesC &aText)=0;

Description

Parameters

const TDesC16 &aText

[Top]


Member data


iEikonEnv_

protected: CEikonEnv & iEikonEnv_;

Description

A CEikonEnv*, which all applications have. This is required for construction of a CEikMsgWin as it provides access to services which the message window needs, the window server session for example.


iDummy

protected: CCoeControl * iDummy;

Description

An empty control required for construction of a blank window. This defines a handle back to the client side object, which is only required if you need to later initiate client side drawing.


iBlankWindow

protected: RBlankWindow * iBlankWindow;

Description

The window in which the message will be drawn.


iMessageWindow

protected: RMessageWindow * iMessageWindow;

Description

An RAnim derived class, which is responsible for interacting with server side classes to provide the message window's animation on the screen. It is constructed by passing in the RWindowBase which it will use to draw its contents to, and also a handle to an animation DLL, which provides the animation functionality.