Hi.......
I am using FILESELECTIONDIALOG to show a "file selection" dialog. I want it to show only image files. For that I wrote the following code in .rss file:
RESOURCE FILESELECTIONDIALOG r_file_selection_dialog
{
title = "Select-a-file:";
root_path = "C:\\Nokia\\Images\\";
filters =
{
FILTER
{
filter_type = EFilenameFilter;
filter_style = EInclusiveFilter;
filter_data={"*.jpeg","*.bmp","*.png","*.jpg","*.gif"};
}
};
}
In .cpp I am writing
TBuf<50> iImageFileName;
AknCommonDialogs::RunSelectDlgLD(iImageFileName, R_MEMORY_SELECTION_DIALOG,NULL);
What should I do here to reflect the desired changes?

Reply With Quote


