Hello!
I want to show the waiting note during load a image.
What problems are there in my code?
CAknWaitDialog never has been shown in both the emulator and phone.
If there is no STEP 3. line, It was shown.
Help me!
void PhotoListView::LoadSelectedPhoto(TFileName szSelPhoto)
{
//CAknWaitDialog* iWaitDialog = NULL;
if(iWaitDialog)
delete iWaitDialog;
iWaitDialog = NULL;
iWaitDialog = new ( ELeave )CAknWaitDialog(reinterpret_cast <CEikDialog**> (&iWaitDialog)
, ETrue );
iWaitDialog->PrepareLC(R_WEBCLIENT_DOWNLOAD_WAIT_NOTE);
iWaitDialog->SetTone(CAknNoteDialog::EConfirmationTone);
iWaitDialog->RunLD(); // STEP 1.
// iWaitDialog->ExecuteLD( R_WEBCLIENT_DOWNLOAD_WAIT_NOTE );
LoadImage(szSelPhoto); //STEP 2.
AppUi()->ActivateLocalViewL (TUid::Uid (ESelectPersonView));//STEP 3.
}



