大家好,本人按照S60的例程:Symbian\7.0s\Series60_v21_C\Series60Ex\下的note这个例子做了一个程序,就是一个类似于滚动条的对话框,用于等待某种操作的完成,编译是可以的,但是运行时报:EIKON-DIALOG 3
这是RSS的定义:
#define AVKON_BMPFILE_NAME "z:\\system\\data\\avkon.mbm "
#define LAB_HTTPSENDINFO_TEXT "正在发送数据,请稍候…… "
RESOURCE DIALOG r_aknexnote_wait_note_softkey_cancel
{
flags = EAknWaitNoteFlags;
buttons = R_AVKON_SOFTKEYS_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtNote;
id = EAknExNoteCtrlIdWaitNote;
control= AVKON_NOTE
{
layout = EWaitLayout;
singular_label = LAB_HTTPSENDINFO_TEXT;
imagefile = AVKON_BMPFILE_NAME;
imageid = EMbmAvkonQgn_note_voice;
imagemask = EMbmAvkonQgn_note_voice_mask;
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
};
}
};
}
这是调用:
CAknWaitDialog* waitDialog = new (ELeave) CAknWaitDialog(NULL, ETrue);
waitDialog -> ExecuteLD(R_AKNEXNOTE_WAIT_NOTE_SOFTKEY_CANCEL);
帮帮我吧,
------解决方案--------------------------------------------------------
imagefile = AVKON_BMPFILE_NAME;
imageid = EMbmAvkonQgn_note_voice;
imagemask = EMbmAvkonQgn_note_voice_mask;
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
这些你确定没问题吗