I created a filetype to be able to only let the correct files to be loaded in my program.
That works fine within the program and i understand this.
My problem : for some reason I need to verify further in my program if the loaded file is of a specific type.
ie I would like to check if the extension of the loaded file is included in a filetype.
Example : my loaded file is “No Matter What.mid” and the filetype iincludes “.mid;.kar;.MID;.KAR”
what is the code to see if the extension is included in this filetype ?