file_dialog dlg = .;                                                           /*  "useless assignment" */

dlg.path = current_path;                                                       /*  "useless assignment" */
dlg.file_mask = files_to_select;
dlg.frame_window = frame_window;
dlg.file_dialog_type = FDLG_OPEN;

file_name[STR_PATH], selected = show_file_dialog (file_name, &dlg);

if (selected == MB_OPEN)
{
  ...
}










