#include <mw/eikmsg.h>
class CEikMsgWin : public CBase |
Protected Attributes | |
---|---|
RBlankWindow * | iBlankWindow |
CCoeControl * | iDummy |
CEikonEnv & | iEikonEnv_ |
RMessageWindow * | iMessageWindow |
Public Member Functions | |
---|---|
virtual | ~CEikMsgWin() |
IMPORT_C void | CancelDisplay() |
IMPORT_C void | ConstructL(RWindowGroup &) |
IMPORT_C void | StartDisplay(const TDesC &, TGulAlignment) |
Protected Member Functions | |
---|---|
CEikMsgWin(CEikonEnv &) | |
TDes & | PrepareDisplay(TDes &, TGulAlignment) |
Base class providing functions to construct and display an information message.
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_ | [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 | [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.
IMPORT_C | CEikMsgWin | ( | CEikonEnv & | aEikonEnv | ) | [protected] |
Protected constructor.
Parameters | |
---|---|
aEikonEnv | The Uikon environment for which the information message is constructed. |
IMPORT_C void | ConstructL | ( | RWindowGroup & | aWindowGroup | ) |
Completes construction.
Parameters | |
---|---|
aWindowGroup | The window group for which the information message is constructed. |
TDes & | PrepareDisplay | ( | TDes & | aText, |
TGulAlignment | aCorner | |||
) | [protected] |
Configures the message window, blank window and display text for specified alignment and display area.
Parameters | |
---|---|
aText | The text to be displayed |
aCorner | Description of message window position. |
IMPORT_C void | StartDisplay | ( | const TDesC & | aText, |
TGulAlignment | aCorner | |||
) |
Displays the message window with the specified text and alignment.
Parameters | |
---|---|
aText | The text to display in the message. |
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. |