U can use something like this in the resouerce file.
RESOURCE DIALOG r_my_animation_query
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_YES_NO;
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_CONFIRMATION_QUERY
layout = EConfirmationQueryLayout;
animation = R_QGN_NOTE_QUERY_ANIM;// U can specify the kind of animation u want here..
//Suppose u want a low battery animation u can write
//animation = R_QGN_NOTE_BATT_LOW_ANIM;
I dont think these ids have been specified in the sdk documentation.
Take a look at "avkon.rsg" file in the epoc32/include folder.
There these animation ids have been defined.
Play around with these definitions and u should get one u are looking for.
May be R_QGN_NOTE_INFO_ANIM is what u r looking for.