API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <aknmessagequerydialog.h>
Inherits CAknQueryDialog.
The dialog contains text that can be scrolled page by page.
If you want to use links and/or bold text among message you must use SetMessageTextL
method. Formatting text does not work through resource file. If there are incorrect/misplaced tags or tags are within each
other, dialog will leave.
Public Member Functions |
|
IMPORT_C | ~CAknMessageQueryDialog () |
Destructor. |
|
IMPORT_C | CAknMessageQueryDialog (const TTone aTone) |
C++ default constructor. |
|
IMPORT_C void | SetMessageTextL (const TDesC &aMessage) |
Sets message text. |
|
IMPORT_C void | SetHeaderTextL (const TDesC &aHeader) |
Sets header text. |
|
IMPORT_C void | SetLinkTextL (const TDesC &aLinkText) |
IMPORT_C void | SetLink (TCallBack &aCallBack) |
Binds a callback to your link so that the dialog knows which callback to call when a link is activated by the user. |
|
IMPORT_C TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode) |
From CCoeControl . |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
From CCoeControl . |
|
virtual IMPORT_C void | ProcessCommandL (TInt aCommandId) |
From MEikCommandObserver . |
|
void | CheckLinkTappedL (TAny *aParams) |
Checks if a link is tapped. |
|
IMPORT_C | CAknMessageQueryDialog (TDesC *aMessage, TDesC *aHeader) |
C++ default constructor. |
|
IMPORT_C | CAknMessageQueryDialog (TDesC *aMessage, TDesC *aHeader, CEikImage *aHeaderImage) |
C++ default constructor. |
|
IMPORT_C | CAknMessageQueryDialog (TDesC *aMessage, TDesC *aHeader, const TTone aTone) |
C++ default constructor. |
|
IMPORT_C | CAknMessageQueryDialog (TDesC *aMessage, TDesC *aHeader, CEikImage *aHeaderImage, const TTone aTone) |
C++ default constructor. |
|
IMPORT_C void | SetMessageText (TDesC *aMessage) |
Sets the dialogs texts. |
|
IMPORT_C void | SetMessageText (const TDesC &aMessage) |
Sets the dialogs texts. |
|
IMPORT_C void | SetHeaderText (TDesC *aHeader) |
Sets the dialogs header texts. |
|
IMPORT_C void | SetHeaderText (const TDesC &aHeader) |
Sets the dialogs header texts. |
|
IMPORT_C | CAknMessageQueryDialog () |
C++ default constructor. |
|
Static Public Member Functions |
|
static IMPORT_C CAknMessageQueryDialog * | NewL (TDesC &aMessage, const TTone &aTone=ENoTone) |
Two-phased constructor. |
|
Protected Member Functions |
|
virtual IMPORT_C void | PreLayoutDynInitL () |
From CEikDialog . |
|
virtual IMPORT_C void | SetSizeAndPosition (const TSize &aSize) |
From CEikDialog . |
|
virtual IMPORT_C void | PostLayoutDynInitL () |
From CEikDialog . |
|
Destructor. |
|
C++ default constructor.
|
|
C++ default constructor.
|
|
C++ default constructor.
|
|
C++ default constructor.
|
|
C++ default constructor.
|
|
C++ default constructor. |
|
Checks if a link is tapped. If yes and the pointer event was of type TPointerEvent::EButton1Up, then calls the callback for the tapped link.
|
|
From Handles pointer events
Reimplemented from CAknQueryDialog. |
|
Two-phased constructor.
|
|
From Handles key events.
If a control wishes to process key events, it should implement this function. The implementation must ensure that the function
returns
Reimplemented from CAknQueryDialog. |
|
From Not implemented. Reimplemented from CAknQueryDialog. |
|
From Should be derived to perform pre-layout dialog initialisation. This function is called by the dialog framework before the dialog is sized and laid out. It may be overloaded to initialise the control values that should influence sizing and layout, the default implementation is empty. Reimplemented from CAknQueryDialog. |
|
From Acts on the menu selection if menu is showing - pass on to client if not processed here.
Responds to Reimplemented from CAknDialog. |
|
Sets the dialogs header texts.
|
|
Sets the dialogs header texts.
|
|
Sets header text.
Reimplemented from CAknQueryDialog. |
|
Binds a callback to your link so that the dialog knows which callback to call when a link is activated by the user.
|
|
aLinkText to a link within the Message. If you have many links with the same name, the method will set the links in the order you call
them. Before you set a new link you have to bind the previous one with a callback by calling SetLink() function.
Note that you don't have to call this function if you have already marked your links between tags
and
in the Message. In that case only
|
|
Sets the dialogs texts.
|
|
Sets the dialogs texts.
|
|
Sets message text.
If you have links in your message you can mark link texts between tags
and
in the message text. For links see also
and
|
|
From Sets the size and position of the dialog. Positions the dialog in the centre of the screen by default.
Reimplemented from CAknQueryDialog. |