this is the code in .rss file

RESOURCE DIALOG r_buddy_send_msg_dialog
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = "Enter Message";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = 25;
lines = 1;
maxlength = 128;
default_input_mode = EAknEditorTextInputMode;
};
}
}

this is the code in my cpp file:
CAknTextQueryDialog* dlg = new(ELeave) CAknTextQueryDialog(msg1, CAknQueryDialog::ENoTone);
if (dlg->ExecuteLD(R_BUDDY_SEND_MSG_DIALOG))
{
}

here i am getting a text box to enter some message.but i wany dictionary in it.can any one tell where i have to change in this code to get dictnory in this code.

plase send me some sample code.

Thanks and Regards,