CAknMessageQueryDialog Class Reference

class CAknMessageQueryDialog : public CAknQueryDialog

Message query dialog.

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
CAknMessageQueryDialog(const TTone)
CAknMessageQueryDialog(TDesC *, TDesC *)
CAknMessageQueryDialog(TDesC *, TDesC *, CEikImage *)
CAknMessageQueryDialog(TDesC *, TDesC *, const TTone)
CAknMessageQueryDialog(TDesC *, TDesC *, CEikImage *, const TTone)
CAknMessageQueryDialog()
~CAknMessageQueryDialog()
voidCheckLinkTappedL(TAny *)
IMPORT_C voidHandlePointerEventL(const TPointerEvent &)
IMPORT_C CAknMessageQueryDialog *NewL(TDesC &, const TTone &)
IMPORT_C TKeyResponseOfferKeyEventL(const TKeyEvent &, TEventCode)
IMPORT_C voidProcessCommandL(TInt)
IMPORT_C voidSetHeaderText(TDesC *)
IMPORT_C voidSetHeaderText(const TDesC &)
IMPORT_C voidSetHeaderTextL(const TDesC &)
IMPORT_C voidSetLink(TCallBack &)
IMPORT_C voidSetLinkTextL(const TDesC &)
IMPORT_C voidSetMessageText(TDesC *)
IMPORT_C voidSetMessageText(const TDesC &)
IMPORT_C voidSetMessageTextL(const TDesC &)
voidUpdateSoftkeyLabels()
Protected Member Functions
IMPORT_C voidPostLayoutDynInitL()
IMPORT_C voidPreLayoutDynInitL()
IMPORT_C voidSetSizeAndPosition(const TSize &)
Private Member Functions
IMPORT_C voidCAknDialog_Reserved()
IMPORT_C voidCAknQueryDialog_Reserved()
IMPORT_C voidCEikDialog_Reserved_1()
IMPORT_C voidCEikDialog_Reserved_2()
TInt CountLinks()
voidCreateExtensionL()
TBool ExecuteLinkL()
IMPORT_C void *ExtensionInterface(TUid)
TBool GetNextTagL(TMsgQueryTag &)
TInt LastLinkInArray()
TInt LinksInArray()
voidParseMessageTxtL()
voidRegisterPointerEventObserver(TBool)
voidSetMsgFormattingL(TMsgQueryTag)
TBool SetNextLinkTextLocationL(const TDesC *)
TBool TaggedMessageL()
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CAknDialog::CAknDialog()
CAknDialog::ConstructL(TInt)
CAknDialog::CreateMenuBarL(TInt)
CAknDialog::DisplayMenuL()
CAknDialog::Draw(const TRect &)const
CAknDialog::DynInitMenuPaneL(TInt,CEikMenuPane *)
CAknDialog::FocusChanged(TDrawNow)
CAknDialog::HideMenu()
CAknDialog::MenuShowing()const
CAknDialog::MopSupplyObject(TTypeUid)
CAknDialog::PrepareLC(TInt)
CAknDialog::SetEmphasis(CCoeControl *,TBool)
CAknDialog::SizeChanged()
CAknDialog::~CAknDialog()
CAknQueryDialog::CAknQueryDialog()
CAknQueryDialog::CAknQueryDialog(TDesC &,const TTone &)
CAknQueryDialog::CAknQueryDialog(const TTone &)
CAknQueryDialog::DismissQueryL()
CAknQueryDialog::DoSetPromptL()
CAknQueryDialog::ExecuteLD(TInt)
CAknQueryDialog::ExecuteLD(TInt,const TDesC &)
CAknQueryDialog::FindControlOnAnyPageWithControlType(TInt,TInt *,TInt *)const
CAknQueryDialog::Flags()
CAknQueryDialog::Flags()const
CAknQueryDialog::GetLeftCBAShortKeyPress()
CAknQueryDialog::GetRightCBAShortKeyPress()
CAknQueryDialog::HandleQueryEditorSizeEventL(CAknQueryControl *,TQueryControlEvent)
CAknQueryDialog::HandleQueryEditorStateEventL(CAknQueryControl *,TQueryControlEvent,TQueryValidationStatus)
CAknQueryDialog::Heading()const
CAknQueryDialog::InputCapabilities()const
CAknQueryDialog::IsLeftSoftkeyVisible()
CAknQueryDialog::LayoutAndDraw()
CAknQueryDialog::MakeLeftSoftkeyVisible(TBool)
CAknQueryDialog::MaxTextLength(const CAknQueryControl *,const TDes &,TInt)
CAknQueryDialog::MaxTextLength(const CAknQueryControl *,const TDes *,TInt)
CAknQueryDialog::NeedToDismissQueryL(const TKeyEvent &)
CAknQueryDialog::NewL(TDes &,const TTone &)
CAknQueryDialog::NewL(TInetAddr &,const TTone &)
CAknQueryDialog::NewL(TInt &,const TTone &)
CAknQueryDialog::NewL(TPosition &,const TTone &)
CAknQueryDialog::NewL(TReal &,const TTone &)
CAknQueryDialog::NewL(TTime &,const TTone &)
CAknQueryDialog::NewL(TTimeIntervalSeconds &,const TTone &)
CAknQueryDialog::NewL(const TTone &)
CAknQueryDialog::OkToExitL(TInt)
CAknQueryDialog::PlayTone()
CAknQueryDialog::Prompt()const
CAknQueryDialog::QueryControl()const
CAknQueryDialog::QueryHeading()const
CAknQueryDialog::RemoveEditorIndicator()
CAknQueryDialog::ReportUserActivity()const
CAknQueryDialog::RunDlgLD(TInt)
CAknQueryDialog::RunLD()
CAknQueryDialog::SetEmergencyCallSupport(TBool)
CAknQueryDialog::SetEmergencyCallSupportForCBA(TBool)
CAknQueryDialog::SetHeaderImageL(CEikImage *)
CAknQueryDialog::SetPredictiveTextInputPermitted(TBool)
CAknQueryDialog::SetPromptL(const TDesC &)
CAknQueryDialog::SoundSystem()const
CAknQueryDialog::Tone()
CAknQueryDialog::Tone()const
CAknQueryDialog::UpdateLeftSoftKeyL()
CAknQueryDialog::~CAknQueryDialog()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::ActivateL()
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetGc()const
CCoeControl::GetHelpContext(TCoeHelpContext &)const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MaximumWidth()const
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::PrepareForFocusLossL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetContainerWindowL(const CCoeControl &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetDimmed(TBool)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
CEikBorderedControl::Border()const
CEikBorderedControl::CEikBorderedControl()
CEikBorderedControl::CEikBorderedControl(const TGulBorder &)
CEikBorderedControl::HasBorder()const
CEikBorderedControl::SetAdjacent(TInt)
CEikBorderedControl::SetBorder(TGulBorder::TBorderType)
CEikBorderedControl::SetBorder(TInt)
CEikDialog::ActivateFirstPageL()const
CEikDialog::ActivePageId()const
CEikDialog::ActivePageIndex()const
CEikDialog::AddAutoDateEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TTime *)
CEikDialog::AddAutoDurationEditorL(const TDesC &,TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &,TBool,TTimeIntervalSeconds *)
CEikDialog::AddAutoFixedPointEditorL(const TDesC &,TInt,TInt,TInt,TInt *,TInt)
CEikDialog::AddAutoFloatEditorL(const TDesC &,TInt,const TReal &,const TReal &,TReal *)
CEikDialog::AddAutoGlobalTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TInt,CGlobalText *,TInt,TInt)
CEikDialog::AddAutoNumberEditorL(const TDesC &,TInt,TInt,TInt,TInt *)
CEikDialog::AddAutoRangeEditorL(const TDesC &,TInt,TInt,TInt,HBufC *,SEikRange *)
CEikDialog::AddAutoRichTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TInt,CGlobalText *,TInt,TInt)
CEikDialog::AddAutoSecretEditorL(const TDesC &,TInt,TDes *)
CEikDialog::AddAutoTextEditorL(const TDesC &,TInt,TInt,TInt,TInt,TDes *)
CEikDialog::AddAutoTimeAndDateEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TBool,HBufC *,TTime *)
CEikDialog::AddAutoTimeEditorL(const TDesC &,TInt,const TTime &,const TTime &,TBool,TTime *)
CEikDialog::AddAutoTimeOffsetEditorL(const TDesC &,TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &,TBool,TTimeIntervalSeconds *)
CEikDialog::AdjustAllIdsOnPage(TInt,TInt)
CEikDialog::BorderStyle()
CEikDialog::ButtonCommandObserver()const
CEikDialog::ButtonGroupContainer()const
CEikDialog::CEikDialog()
CEikDialog::ComponentControl(TInt)const
CEikDialog::ConstructAutoDialogLC(TInt,TInt)
CEikDialog::ConstructSleepingAlertDialogL(TInt)
CEikDialog::ConstructSleepingDialogL(TInt)
CEikDialog::Control(TInt)const
CEikDialog::ControlCaption(TInt)const
CEikDialog::ControlOrNull(TInt)const
CEikDialog::ControlsOnPage(RArray< CEikCaptionedControl * > &,TInt)const
CEikDialog::ConvertCustomControlTypeToBaseControlType(TInt)const
CEikDialog::CountComponentControls()const
CEikDialog::CreateCustomControlL(TInt)
CEikDialog::CreateLineByTypeL(const TDesC &,TInt,TInt,TAny *)
CEikDialog::CreateLineByTypeL(const TDesC &,TInt,TInt,TInt,TAny *)
CEikDialog::CurrentLine()const
CEikDialog::DeclareAutoDateEditor(TInt,TTime *)
CEikDialog::DeclareAutoDurationEditor(TInt,TTimeIntervalSeconds *)
CEikDialog::DeclareAutoFixedPointEditor(TInt,TInt *)
CEikDialog::DeclareAutoNumberEditor(TInt,TInt *)
CEikDialog::DeclareAutoRangeEditor(TInt,SEikRange *)
CEikDialog::DeclareAutoSecretEditor(TInt,TDes *)
CEikDialog::DeclareAutoTextEditorL(TInt,TDes *)
CEikDialog::DeclareAutoTimeAndDateEditor(TInt,TTime *)
CEikDialog::DeclareAutoTimeEditor(TInt,TTime *)
CEikDialog::DeclareAutoTimeOffsetEditor(TInt,TTimeIntervalSeconds *)
CEikDialog::DeclareItemAuto(TInt,TInt,TAny *)
CEikDialog::DeleteLine(TInt,TBool)
CEikDialog::DialogFlags()
CEikDialog::DurationEditorValue(TInt)const
CEikDialog::ExitSleepingDialog()
CEikDialog::Extension()const
CEikDialog::FindLineIndex(const CCoeControl &)const
CEikDialog::FixedPointEditorDecimal(TInt)const
CEikDialog::FixedPointEditorValue(TInt)const
CEikDialog::FloatEditorValue(TInt)const
CEikDialog::FloatingPointEditorValue(TInt)const
CEikDialog::FormFlagsFromActivePage()
CEikDialog::GetAutoValuesFromPage(CEikCapCArray *)
CEikDialog::GetColorUseListL(CArrayFix< TCoeColorUse > &)const
CEikDialog::GetCustomAutoValue(TAny *,TInt,const CCoeControl *)
CEikDialog::GetEdwinText(TDes &,TInt)const
CEikDialog::GetFileName(TFileName *,TInt)const
CEikDialog::GetFirstLineOnFirstPageOrNull()
CEikDialog::GetLabelText(TDes &,TInt)const
CEikDialog::GetLineByLineAndPageIndex(TInt,TInt)const
CEikDialog::GetNumberOfLinesOnPage(TInt)const
CEikDialog::GetNumberOfPages()const
CEikDialog::GetSecretEditorText(TDes &,TInt)const
CEikDialog::GetTextEditorText(CGlobalText *&,TInt)
CEikDialog::HandleControlEventL(CCoeControl *,TCoeEvent)
CEikDialog::HandleControlStateChangeL(TInt)
CEikDialog::HandleDialogPageEventL(TInt)
CEikDialog::HandleInteractionRefused(TInt)
CEikDialog::HandleResourceChange(TInt)
CEikDialog::IdOfFocusControl()const
CEikDialog::InsertLineL(TInt,TInt,TInt)
CEikDialog::IsEditable()const
CEikDialog::Layout()
CEikDialog::Line(TInt)const
CEikDialog::LineChangedL(TInt)
CEikDialog::ListBoxCurrentItem(TInt)const
CEikDialog::MakeLineVisible(TInt,TBool)
CEikDialog::MakePanelButtonVisible(TInt,TBool)
CEikDialog::MakeVisible(TBool)
CEikDialog::MakeWholeLineVisible(TInt,TBool)
CEikDialog::MappedCommandId(TInt)
CEikDialog::NumberEditorValue(TInt)const
CEikDialog::PageChangedL(TInt)
CEikDialog::PreferredSize(const TSize &)const
CEikDialog::PrepareContext(CWindowGc &)const
CEikDialog::PrepareForFocusTransitionL()
CEikDialog::PublishDialogL(TInt,TUid)
CEikDialog::RangeEditorValue(TInt)const
CEikDialog::ReadResourceLC(TInt)
CEikDialog::RegisterDialgWithPageSelector()
CEikDialog::ResetLineMinimumSizes()
CEikDialog::ResetSecretEditor(TInt)
CEikDialog::RotateFocusByL(TInt)
CEikDialog::RouseSleepingDialog()
CEikDialog::SetControlCaptionL(TInt,TInt)
CEikDialog::SetControlCaptionL(TInt,const TDesC &)
CEikDialog::SetDurationEditorMinAndMax(TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &)
CEikDialog::SetDurationEditorValue(TInt,const TTimeIntervalSeconds &)
CEikDialog::SetEditableL(TBool)
CEikDialog::SetEdwinTextL(TInt,const TDesC *)
CEikDialog::SetFileNameL(TInt,const TDesC *)
CEikDialog::SetFixedPointEditorDecimal(TInt,TInt)
CEikDialog::SetFixedPointEditorValueL(TInt,TInt)
CEikDialog::SetFloatEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetFloatEditorValueL(TInt,TReal)
CEikDialog::SetFloatingPointEditorValueL(TInt,const TReal *)
CEikDialog::SetInitialCurrentLine()
CEikDialog::SetLabelL(TInt,TInt)
CEikDialog::SetLabelL(TInt,const TDesC &)
CEikDialog::SetLabelReserveLengthL(TInt,TInt)
CEikDialog::SetLineDimmedNow(TInt,TBool)
CEikDialog::SetLineNonFocusing(TInt)
CEikDialog::SetListBoxCurrentItem(TInt,TInt)
CEikDialog::SetMediatorObserver(MAknDialogMediatorObserver *)
CEikDialog::SetMultilineQuery(TBool)
CEikDialog::SetNumberEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetNumberEditorValue(TInt,TInt)
CEikDialog::SetPageDensePacking(TInt,TBool)
CEikDialog::SetPageDimmedNow(TInt,TBool)
CEikDialog::SetRangeEditorMinAndMax(TInt,TInt,TInt)
CEikDialog::SetRangeEditorValue(TInt,const SEikRange &)
CEikDialog::SetTTimeEditorMinAndMax(TInt,const TTime &,const TTime &)
CEikDialog::SetTTimeEditorValue(TInt,const TTime &)
CEikDialog::SetTextEditorTextL(TInt,const CGlobalText *)
CEikDialog::SetTimeOffsetEditorMinAndMax(TInt,const TTimeIntervalSeconds &,const TTimeIntervalSeconds &)
CEikDialog::SetTimeOffsetEditorValue(TInt,const TTimeIntervalSeconds &)
CEikDialog::SetTitleL(TInt)
CEikDialog::SetTitleL(const TDesC &)
CEikDialog::SlideDialog()
CEikDialog::SwapButtonGroupContainer(CEikButtonGroupContainer *)
CEikDialog::SwitchLineLatency(TInt,TInt)
CEikDialog::TTimeEditorValue(TInt)const
CEikDialog::TimeOffsetEditorValue(TInt)const
CEikDialog::Title()const
CEikDialog::TryChangeFocusToL(TInt)
CEikDialog::TryExitL(TInt)
CEikDialog::UpdatePageL(TBool)
CEikDialog::WriteInternalStateL(RWriteStream &)const
CEikDialog::~CEikDialog()
Inherited Enumerations
CAknQueryDialog:TTone
CCoeControl:TZoomType
CEikDialog:@169
Private Attributes
TDesC *iHeader
CEikImage *iHeaderImage
TDesC *iMessage
CAknMessageQueryDialogExtension *iMsgQueryExtension
Inherited Attributes
CAknDialog::iMenuBar
CAknQueryDialog::iExtension
CAknQueryDialog::iFlags
CAknQueryDialog::iPrompt
CAknQueryDialog::iSoundSystem
CAknQueryDialog::iSpare_1
CAknQueryDialog::iTone
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikBorderedControl::iBorder

Constructor & Destructor Documentation

CAknMessageQueryDialog(const TTone)

IMPORT_CCAknMessageQueryDialog(const TToneaTone)

C++ default constructor.

Parameters

const TTone aToneTone played with the dialog.

CAknMessageQueryDialog(TDesC *, TDesC *)

IMPORT_CCAknMessageQueryDialog(TDesC *aMessage,
TDesC *aHeader
)

C++ default constructor.

Parameters

TDesC * aMessageDialog box text.
TDesC * aHeaderHeader for the dialog.

CAknMessageQueryDialog(TDesC *, TDesC *, CEikImage *)

IMPORT_CCAknMessageQueryDialog(TDesC *aMessage,
TDesC *aHeader,
CEikImage *aHeaderImage
)

C++ default constructor.

Parameters

TDesC * aMessageDialog box text.
TDesC * aHeaderHeader for the dialog.
CEikImage * aHeaderImageImage to be inserted to the header.

CAknMessageQueryDialog(TDesC *, TDesC *, const TTone)

IMPORT_CCAknMessageQueryDialog(TDesC *aMessage,
TDesC *aHeader,
const TToneaTone
)

C++ default constructor.

Parameters

TDesC * aMessageDialog box text.
TDesC * aHeaderHeader for the dialog.
const TTone aToneTone for the dialog.

CAknMessageQueryDialog(TDesC *, TDesC *, CEikImage *, const TTone)

IMPORT_CCAknMessageQueryDialog(TDesC *aMessage,
TDesC *aHeader,
CEikImage *aHeaderImage,
const TToneaTone
)

C++ default constructor.

Parameters

TDesC * aMessageDialog box text.
TDesC * aHeaderHeader for the dialog.
CEikImage * aHeaderImageImage to be used in the header.
const TTone aToneTon for the dialog.

CAknMessageQueryDialog()

IMPORT_CCAknMessageQueryDialog()

C++ default constructor.

~CAknMessageQueryDialog()

IMPORT_C~CAknMessageQueryDialog()

Destructor.

Member Functions Documentation

CAknDialog_Reserved()

IMPORT_C voidCAknDialog_Reserved()[private, virtual]

CAknQueryDialog_Reserved()

IMPORT_C voidCAknQueryDialog_Reserved()[private, virtual]

CEikDialog_Reserved_1()

IMPORT_C voidCEikDialog_Reserved_1()[private, virtual]

CEikDialog_Reserved_2()

IMPORT_C voidCEikDialog_Reserved_2()[private, virtual]

CheckLinkTappedL(TAny *)

voidCheckLinkTappedL(TAny *aParams)

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.

S60 3.2

Parameters

TAny * aParamsinformation on the position tapped and the pointer event

CountLinks()

TInt CountLinks()const [private]

S60 3.0 With multiple link support

CreateExtensionL()

voidCreateExtensionL()[private]

If the dialog does not have an extension create one.

S60 2.8

ExecuteLinkL()

TBool ExecuteLinkL()[private]

Execute the current link. The link is dehighlighted after the execution. ETrue if the link was executed successfully. EFalse if no link is selected or there is no control object.

ExtensionInterface(TUid)

IMPORT_C void *ExtensionInterface(TUidaInterface)[private, virtual]

Parameters

TUid aInterface

GetNextTagL(TMsgQueryTag &)

TBool GetNextTagL(TMsgQueryTag &aTag)[private]

Parameters

TMsgQueryTag & aTag

HandlePointerEventL(const TPointerEvent &)

IMPORT_C voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[virtual]

From CCoeControl.

Handles pointer events

Parameters

const TPointerEvent & aPointerEventThe pointer event.

LastLinkInArray()

TInt LastLinkInArray()[private]

LinksInArray()

TInt LinksInArray()[private]

NewL(TDesC &, const TTone &)

IMPORT_C CAknMessageQueryDialog *NewL(TDesC &aMessage,
const TTone &aTone = ENoTone
)[static]

Two-phased constructor.

Parameters

TDesC & aMessageText for the dialog.
const TTone & aTone = ENoTone

OfferKeyEventL(const TKeyEvent &, TEventCode)

IMPORT_C TKeyResponseOfferKeyEventL(const TKeyEvent &aKeyEvent,
TEventCode
)[virtual]

From CCoeControl.

Handles key events.

If a control wishes to process key events, it should implement this function. The implementation must ensure that the function returns EKeyWasNotConsumed if it does not do anything in response to a key event, otherwise, other controls or dialogs may be prevented from receiving the key event. If it is able to process the event it should return EKeyWasConsumed.

Indicates whether or not the key event was used by this control.

Parameters

const TKeyEvent & aKeyEventThe key event.
TEventCode

ParseMessageTxtL()

voidParseMessageTxtL()[private]

PostLayoutDynInitL()

IMPORT_C voidPostLayoutDynInitL()[protected, virtual]

From CEikDialog

Not implemented.

PreLayoutDynInitL()

IMPORT_C voidPreLayoutDynInitL()[protected, virtual]

From CEikDialog.

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.

ProcessCommandL(TInt)

IMPORT_C voidProcessCommandL(TIntaCommandId)[virtual]

From MEikCommandObserver.

Acts on the menu selection if menu is showing - pass on to client if not processed here.

Responds to EAknSoftkeyView and EAknSoftkeyEmpty commands.

S60 3.0

Parameters

TInt aCommandId

RegisterPointerEventObserver(TBool)

voidRegisterPointerEventObserver(TBoolaRegister)[private]

Register/Unregister an observer to extendedinputcapabilities. Registering is done so that we can receive pointer events from edwin.

S60 3.2

Parameters

TBool aRegister

SetHeaderText(TDesC *)

IMPORT_C voidSetHeaderText(TDesC *aHeader)

Sets the dialogs header texts.

Parameters

TDesC * aHeaderText to be inserter into the dialogs header.

SetHeaderText(const TDesC &)

IMPORT_C voidSetHeaderText(const TDesC &aHeader)

Sets the dialogs header texts.

Parameters

const TDesC & aHeaderText to be inserter into the dialogs header.

SetHeaderTextL(const TDesC &)

IMPORT_C voidSetHeaderTextL(const TDesC &aHeader)

Sets header text.

Parameters

const TDesC & aHeaderMessage query header text

SetLink(TCallBack &)

IMPORT_C voidSetLink(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.

S60 2.8

Parameters

TCallBack & aCallBackPoints to function which is executed when a link is activated by a user.

SetLinkTextL(const TDesC &)

IMPORT_C voidSetLinkTextL(const TDesC &aLinkText)
  • use tags within text instead.

Changes the first occurance of 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 <AknMessageQuery link>=""> and </AknMessageQuery> in the Message. In that case only SetLink() method is used.

S60 2.8

Parameters

const TDesC & aLinkTextLink text inside message.

SetMessageText(TDesC *)

IMPORT_C voidSetMessageText(TDesC *aMessage)

Sets the dialogs texts.

Parameters

TDesC * aMessageText to be inserter into the dialog.

SetMessageText(const TDesC &)

IMPORT_C voidSetMessageText(const TDesC &aMessage)

Sets the dialogs texts.

Parameters

const TDesC & aMessageText to be inserter into the dialog.

SetMessageTextL(const TDesC &)

IMPORT_C voidSetMessageTextL(const TDesC &aMessage)

Sets message text. If you have links in your message you can mark link texts between tags <AknMessageQuery link>=""> and </AknMessageQuery> in the message text. For links see also SetLink. Bold text can be achieved using tags <AknMessageQuery bold>=""> and </AknMessageQuery>

Parameters

const TDesC & aMessageMessage text inside query. Insert '\n' to get new line.

SetMsgFormattingL(TMsgQueryTag)

voidSetMsgFormattingL(TMsgQueryTagaTag)[private]

Parameters

TMsgQueryTag aTag

SetNextLinkTextLocationL(const TDesC *)

TBool SetNextLinkTextLocationL(const TDesC *aLinkText)[private]

Parameters

const TDesC * aLinkText

SetSizeAndPosition(const TSize &)

IMPORT_C voidSetSizeAndPosition(const TSize &aSize)[protected, virtual]

From CEikDialog

Sets the size and position of the dialog.

Positions the dialog in the centre of the screen by default.

Parameters

const TSize & aSizeNot used.

TaggedMessageL()

TBool TaggedMessageL()[private]

UpdateSoftkeyLabels()

voidUpdateSoftkeyLabels()

Update softkey labels depending on whether any link is highlighted. If a link is highlighted, the labels change to "View - <Empty>". If no link i highlighted, the labels change to their previous values ( Ok - Cancel ).

Member Data Documentation

TDesC * iHeader

TDesC *iHeader[private]

CEikImage * iHeaderImage

CEikImage *iHeaderImage[private]

TDesC * iMessage

TDesC *iMessage[private]

CAknMessageQueryDialogExtension * iMsgQueryExtension

CAknMessageQueryDialogExtension *iMsgQueryExtension[private]