Get extension file from FileDialog
But I want to use a filter as FileDialog
example :
CFileDialog(... , ... , "*.tif", ... , Image TIFF CITT G 4 (*.tif)|*.tif|Image BMP (*.bmp)|*.bmp)
But I need the get the The default filename extension (*.tif)
and a list of specify filters (ex : *.tif and *.bmp) after the call of the FileDialog constructor
I need also to get the name associated with an extension
ex : Image BMP (*.bmp) from *.bmp
I know that the filter is contents in char* but I don't want to make a parser. Like FileDialog may do this, I just want to know if somebody knows how to do that.
I'm not sure that I'm clear so tell me if you don't understand.
thx.

