How do I go about automatically opening a file that was passed on
the command line?
I have a menu item File->Open with ID_FILE_OPEN but don't know
how to simulate a user having clicked on this. I'm trying
to write some code in the Application InitInstance.
Can I send some sort of a message and have my routine for
ID_FILE_OPEN execute? (The routine sits in my document class)
Is there a way to directly call my OnFileOpen routine from my
Maybe there's a better way to accomplish what I'm trying to do?