CAknListQueryDialog

Login to reply to this topic.
Mon, 2008-03-17 06:10
Joined: 2007-08-14
Forum posts: 6

Hi All,

I am having a list query dialog in which the selection of one of the items results in the pop-up of another list dialog.
When this new dialog is exited i have to come back to the original dialog which actually caused this new dialog to pop-up.
I know that using RunLD or ExecuteLD methods will destroy the dialog. so are there any options other than these methods or else how can it be done... heres the sample code that i am using now...

CAknListQueryDialog  *myDialog = CAknListQueryDialog::NewL(index);
/*
* setting the item text array and heading
*/
TInt queryOK = myDialog->RunLD( );
if (queryOK = EAknSoftKeyOk)
{
        if (resource_array [ index ] ==R_MORE_INFO)
        {
                     moreInfoL( );
         }
         else if ...
}

this will actually destroy the first dialog before i acually create the new dialog in moreInfo.
Can we have heirarchies of pop-up windows or something like that...
Please help me with this. Thanks in advance.

  • Login to reply to this topic.