MFC run application by clicking on file...
i've written a pretty simple MFC application for viewing floating point tif images. basically, by doing file->open, i create a child window that displays the image.
what i want to do is to be able to associate these floating-point tiffs with my application, so that when i double click the file, it will run the application and open the file... at the moment it just runs the application but does not open the file.
so, all i want to happen is when the file is double clicked and the application runs... is for the OnOpen() routine to be called the same as when the user does file->open from inside the application. if you know what i mean...?
any suggestions would be greatly appreciated.