Code: Select all
public int CreateGdPictureImageFromFile( String FilePath );
This dialog does not have a file extension filter option.
So, the list of files contain all files, even the ones which are clearly no image files.
It would be nice that this dialog has a combobox option (like the default windows file open dialog) to select a file extension.
(eg *.jpg, *.png etc) separately.
Also an option to select all image types.
And yes, also the option *.* (all files) which is now the default behavior of the dialog.
The default should be "All images" with the list of GdPicture supported filetype extensions.
This would filter the file list which is much easier for the end user to locate possible images.
Now the user has to manually scroll and locate the images visually or type in a *.jpg into the file field to filter the list.
I think the best way to see my request is how Windows Paint manages the FileOpen dialog.
See screenshot below.