hi friends,
i am working on series 60- 3rd edition edition- feature pack 1. I have developed a
third party fep.
In that 3rd party fep , i am launching a dialog to accept data from the user, for
launching that dialog -
1] I am defining it in a resource in the following way:
RESOURCE DIALOG r_velfep_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = "Enter new word : ";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = AKNEXQUERY_EDWIN_WIDTH;
maxlength = AKNEXQUERY_EDWIN_MAXLENGTH;
// added to limit expanding in forms.
// If you want full screen use 6 here
max_view_height_in_lines = AKNEXQUERY_EDWIN_LINES;
// if you have the line above, you must have this.
// It's calculable from LAF
base_line_delta = 21;
default_input_mode = EAknEditorAllInputModes;
};
};
}
};
}
2] I am using, in the C++ source code in the following way:
CAknTextQueryDialog* dlg;
dlg = new ( ELeave )CAknTextQueryDialog(
textData, CAknQueryDialog::ENoTone );
// aQueryResourceId is the is of the resource in the rsg file.
// launch the resource dialog.
dlg->ExecuteLD( aQueryResourceId )
3] At runtime when this code is executed from within an fep, it is giving me bafl-15
panic.
I have read this panic in sdk, which indicates that this panic is caused by Interface to
resource files (TResourceReader ), but it is being internally implemented by
CAknTextQueryDialog.
When i am implementing this code in a sample GUI application , it works perfectly
fine. i.e the dialog is launched and the text is being proper edited and exited.
Is there any known issue of launching a dialog in 3rd editon fep?????????
forum nokia experts please Help!!!!!!!!!!!!!!!!!!!!
Thanks,
himanshu k
Symbian Application Developer.

Reply With Quote



