In my application, when the user selects file "open" the standard file dialog box is displayed. How do I add to the list of file types (three character extensions). How would I then distinguish the files. Should I check the last three characters in LPCTSTR lpszPathName which is passed to my OnOpenDocument routine. Is there an example of this on codeguru.

Thankyou
Don