Location:
clock.h
Link against: clock.lib
RMessageWindow
Supported from 5.0
A configurable window that appears for a brief time to display a message to the user and then disappears.
This is the basic class that is used by such classes as CEikonEnv and CEikMsgWin to provide information and message windows. Such higher-level classes would normally be used by client applications rather than RMessageWindow. This class can be used though to implement specialist new classes.
Note that this class is in the same library as the Clock API for implementation reasons only.
|
Defined in RMessageWindow:
EMaxTextLength, Anonymous, CancelDisplay(), ConstructL(), GetBorders(), RMessageWindow(), SetBackgroundColor(), SetBorderColor(), SetPlinthColors(), SetTextColor(), StartDisplay()
Inherited from RAnim:
Command(),
CommandReply(),
Construct(),
Destroy()
Inherited from RAnimWithUtils:
Close()
RMessageWindow(RAnimDll& aAnimDll, const RWindowBase& aWindow);
Constructor.
|
void ConstructL(TInt aBaselineOffset, TInt aFontHandle, TRgb aBackgroundColor, TRgb aTextColor);
Second-phase construction.
|
void ConstructL(TInt aBaselineOffset, TInt aFontHandle, TRgb aBackgroundColor, TRgb aTextColor, TRgb aBorderColor);
Supported from 5.1
Second-phase construction, with window border colour option.
|
void GetBorders(TMargins& aBorders);
Gets the widths of the window's borders.
|
void SetBackgroundColor(TRgb aBackgroundColor);
Supported from 5.1
Sets the background colour for the window.
|
void SetBorderColor(TRgb aBorderColor);
Supported from 5.1
Sets the window border colour.
|
void SetPlinthColors(TRgb aTl,TRgb aBr);
Supported from 6.0
Sets the plinth colours.
|
void SetTextColor(TRgb aTextColor);
Supported from 5.1
Sets the message text colour.
|
void StartDisplay(TBool aFlash, TTimeIntervalMicroSeconds32 aInitialDelay, const TDesC& aText);
Display message window for a specified time.
|
void StartDisplay(TBool aFlash, TTimeIntervalMicroSeconds32 aInitialDelay, TTimeIntervalMicroSeconds32 aDuration, const TDesC& aText);
Display message window for a specified time with initial delay.
|
Anonymous
Defines the maximum length of text in the message.
|