I'm using CAknTextQueryDialog to show an edit dialog, and on the emulator it will start a new line when typed a very long string when the first edit line is full, but it crashes on the phone just at the point of starting a new line.
The codes are here:
Code:CAknTextQueryDialog* dlg = CAknTextQueryDialog::NewL(tbuf); if (dlg->ExecuteLD(R_TK_INPUT_QUERY_DIALOG_NUMERIC)){ ... ... }Code:RESOURCE DIALOG r_tk_input_query_dialog_numeric { flags = EGeneralQueryFlags; buttons = R_AVKON_SOFTKEYS_OK_CANCEL; items = { DLG_LINE { type = EAknCtQuery; id = EGeneralQuery; control = AVKON_DATA_QUERY { layout = EDataLayout; control = EDWIN { // flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; width = 20; lines = 4; maxlength = 64; default_input_mode = EAknEditorNumericInputMode; }; }; } }; }
Any idea? Thanks!




