Location:
CLOCK.H
Link against: clock.lib
class RMessageWindow : public RAnimWithUtils;
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 classes such 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.
RAnim
- Client-side handle to a server-side animation class
RAnimWithUtils
- Utility class to support clock animation
RMessageWindow
- A configurable window that appears for a brief time to display a message to the user and then disappears
Defined in RMessageWindow
:
CancelDisplay()
, ConstructL()
, ConstructL()
, EMaxTextLength
, GetBorders()
, RMessageWindow()
, SetBackgroundColor()
, SetBorderColor()
, SetPlinthColors()
, SetTextColor()
, StartDisplay()
, StartDisplay()
, anonymous
Inherited from RAnim
:
AsyncCommandReply()
,
Command()
,
CommandReply()
,
Construct()
,
Destroy()
Inherited from RAnimWithUtils
:
Close()
IMPORT_C RMessageWindow(RAnimDll &aAnimDll, const RWindowBase &aWindow);
Constructor.
|
IMPORT_C void ConstructL(TInt aBaselineOffset, TInt aFontHandle, TRgb aBackgroundColor, TRgb aTextColor);
Performs second-phase construction.
|
IMPORT_C void ConstructL(TInt aBaselineOffset, TInt aFontHandle, TRgb aBackgroundColor, TRgb aTextColor, TRgb aBorderColor);
Performs second-phase construction, with a window border colour.
|
IMPORT_C void StartDisplay(TBool aFlash, TTimeIntervalMicroSeconds32 aInitialDelay, const TDesC &aText);
Displays the message window for a specified time.
|
IMPORT_C void StartDisplay(TBool aFlash, TTimeIntervalMicroSeconds32 aInitialDelay, TTimeIntervalMicroSeconds32 aDuration,
const TDesC &aText);
Displays the message window for a specified time with an initial delay.
|
IMPORT_C void GetBorders(TMargins &aBorders);
Gets the widths of the window's borders.
|
IMPORT_C void SetBackgroundColor(TRgb aBackgroundColor);
Sets the background colour for the window.
|
IMPORT_C void SetTextColor(TRgb aTextColor);
Sets the message text colour.
|
IMPORT_C void SetBorderColor(TRgb aBorderColor);
Sets the window border colour.
|
IMPORT_C void SetPlinthColors(TRgb aTl, TRgb aBr);
Sets the plinth colours.
|
n/a
Defines the maximum length of text in the message.
|