My app waits for SMS-messages and display a custom note when new SMS-messages arrive. I then update the number of received messages on the note. For this I use a wait note since I need the program to run in the background and not blocked by the note. However, I don't want the wait note animation displayed in the dialog. Can this be removed somehow? I use the following resource for the dialog:
If I set animation to 0 the dialog still draws a bar around the area that would contain the animation. Can I remove this? Apparently I have to use EWaitLayout as the avkon note layout. Otherwise the app crashes with error -2.
RESOURCE DIALOG r_new_sms_dialog
flags = EAknWaitNoteFlags;
buttons = R_AVKON_SOFTKEYS_YES_NO;
type = EAknCtNote;
id = EGeneralNote;
control = AVKON_NOTE
layout = EWaitLayout;
singular_label = qtn_singular_new_sms_text;
plural_label = qtn_plural_new_sms_text;
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
Thanks for your help!