如此写对话框资源是否正确?
RESOURCE DIALOG r_key_code_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = ENumberLayout;
label = qtn_query_code;
control = AVKON_INTEGER_EDWIN
{
min = 0;
max = 999999;
};
};
}
};
}
[解决办法]
可以参考Series60Ex下面query这个例子.