Yes, I think I might have gotten confused somewhere as I used an Ok/Cancel before and this is a Yes/No.
I've changed it to:
Will see what happens like that. Just strange that the condition is never executed considering that the values of both Yes and No are non-zero, if I assume correctly, it would always evaluate to true, not false.
if (dlg->ExecuteLD(R_WARNING, warning) == EAknSoftkeyYes)
Does this resource look ok for it? Or might I be doing something wrong there as well?
RESOURCE DIALOG r_warning
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_YES_NO;
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_CONFIRMATION_QUERY
layout = EConfirmationQueryLayout;
animation = R_QGN_NOTE_INFO_ANIM;
Originally Posted by savaj