|
||
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 ...
Defined in RMessageWindow
:
CancelDisplay()
Cancels the display of the window. ConstructL(TInt,TInt,TRgb,TRgb)
Performs second-phase construction.ConstructL(TInt,TInt,TRgb,TRgb,TRgb)
Performs second-phase construction, with a window border colour.EMaxTextLength
Maximum length of text in the message. GetBorders(TMargins &)
Gets the widths of the window's borders.RMessageWindow(RAnimDll &,const RWindowBase &)
Constructor.SetBackgroundColor(TRgb)
Sets the background colour for the window.SetBorderColor(TRgb)
Sets the window border colour.SetPlinthColors(TRgb,TRgb)
Sets the plinth colours.SetTextColor(TRgb)
Sets the message text colour.StartDisplay(TBool,TTimeIntervalMicroSeconds32,TTimeIntervalMicroSeconds32,const TDesC &)
Displays the message window for a specified time with an initial delay.StartDisplay(TBool,TTimeIntervalMicroSeconds32,const TDesC &)
Displays the message window for a specified time.anonymous
Defines the maximum length of text in the message. Inherited from RAnim
:
AsyncCommandReply(TRequestStatus &,TInt,const TIpcArgs &)
Sends a command and its arguments to the server-side CAnim instance asynchronous...Command(TInt)
Sends a command to the server-side CAnim instance, and returns immediately.Command(TInt,const TPtrC8 &)
Sends a command and its arguments to the server-side CAnim instance, and returns...CommandReply(TInt)
Sends a command to the server-side CAnim instance, and waits for a response.CommandReply(TInt,const TDesC8 &,const TIpcArgs &)
Sends a command and its arguments to the server-side CAnim instance, and waits f...CommandReply(TInt,const TPtrC8 &)
Sends a command and its arguments to the server-side CAnim instance, and waits f...Construct(const RWindowBase &,TInt,const TDesC8 &)
Completes construction of the object based on a window device, and creates the s...Construct(const RWindowBase &,TInt,const TDesC8 &,const TIpcArgs &)
Completes construction of the object based on a window device, and creates the s...Construct(const RWsSprite &,TInt,const TDesC8 &)
Completes construction of the Anim DLL based on a sprite.Construct(const RWsSprite &,TInt,const TDesC8 &,const TIpcArgs &)
Completes construction of the Anim DLL based on a sprite.Destroy()
Closes and deletes the server-side animation object.RAnim(RAnimDll &)
Protected C++ constructor.Inherited from RAnimWithUtils
:
Close()
Closes the clock animation. 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.
|
CFbsFont::Handle()const
Gets the Font and Bitmap server handle of the font. IMPORT_C void ConstructL(TInt aBaselineOffset, TInt aFontHandle, TRgb aBackgroundColor, TRgb aTextColor, TRgb aBorderColor);
Performs second-phase construction, with a window border colour.
|
CFbsFont::Handle()const
Gets the Font and Bitmap server handle of the font. 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.
|