Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
CEikMsgWin(), CEikMsgWin_Reserved1(), CEikMsgWin_Reserved2(), CancelDisplay(), ConstructL(), DoStartDisplay(), StartDisplay(), iBlankWindow, iDummy, iEikonEnv_, iMessageWindow, ~CEikMsgWin()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


CEikMsgWin()

protected: IMPORT_C CEikMsgWin(CEikonEnv &aEikonEnv);

Description

Protected constructor.

Parameters

CEikonEnv &aEikonEnv

The Uikon environment for which the information message is constructed.


ConstructL()

IMPORT_C void ConstructL(RWindowGroup &aWindowGroup);

Description

Completes construction.

Parameters

RWindowGroup &aWindowGroup

The window group for which the information message is constructed.


~CEikMsgWin()

virtual IMPORT_C ~CEikMsgWin();

Description

Destructor.

[Top]


Member functions


StartDisplay()

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

Description

Displays the message window with the specified text and alignment.

Parameters

const TDesC &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: virtual IMPORT_C void CEikMsgWin_Reserved1();

Description


CEikMsgWin_Reserved2()

private: virtual IMPORT_C void CEikMsgWin_Reserved2();

Description


DoStartDisplay()

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

Description

Parameters

const TDesC &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.