CEikMsgWin Class Reference

class CEikMsgWin : public CBase

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

Inherits from

Constructor & Destructor Documentation

CEikMsgWin(CEikonEnv &)

IMPORT_CCEikMsgWin(CEikonEnv &aEikonEnv)[protected]

Protected constructor.

Parameters

CEikonEnv & aEikonEnvThe Uikon environment for which the information message is constructed.

~CEikMsgWin()

IMPORT_C~CEikMsgWin()[virtual]

Destructor.

Member Functions Documentation

CEikMsgWin_Reserved1()

IMPORT_C voidCEikMsgWin_Reserved1()[private, virtual]

CEikMsgWin_Reserved2()

IMPORT_C voidCEikMsgWin_Reserved2()[private, virtual]

CancelDisplay()

IMPORT_C voidCancelDisplay()

Stops displaying the message window.

ConstructL(RWindowGroup &)

IMPORT_C voidConstructL(RWindowGroup &aWindowGroup)

Completes construction.

Parameters

RWindowGroup & aWindowGroupThe window group for which the information message is constructed.

DoStartDisplay(const TDesC &)

voidDoStartDisplay(const TDesC &aText)[private, pure virtual]

Parameters

const TDesC & aText

PrepareDisplay(TDes &, TGulAlignment)

TDes &PrepareDisplay(TDes &aText,
TGulAlignmentaCorner
)[protected]

Configures the message window, blank window and display text for specified alignment and display area.

Parameters

TDes & aTextThe text to be displayed
TGulAlignment aCornerDescription of message window position.

StartDisplay(const TDesC &, TGulAlignment)

IMPORT_C voidStartDisplay(const TDesC &aText,
TGulAlignmentaCorner
)

Displays the message window with the specified text and alignment.

Parameters

const TDesC & aTextThe text to display in the message.
TGulAlignment aCornerThe 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.

Member Data Documentation

RBlankWindow * iBlankWindow

RBlankWindow *iBlankWindow[protected]

The window in which the message will be drawn.

TInt iCEikMsgWin_Spare1

TInt iCEikMsgWin_Spare1[private]

CCoeControl * iDummy

CCoeControl *iDummy[protected]

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.

CEikonEnv & iEikonEnv_

CEikonEnv &iEikonEnv_[protected]

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.

RMessageWindow * iMessageWindow

RMessageWindow *iMessageWindow[protected]

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.

CEikResourceChange * iResourceChange

CEikResourceChange *iResourceChange[private]