T
Terry Olsen
I have a code-editor application. I have associated a filetype with the
application. Double-clicking on a file will open the code-editor and
open the file. Works great.
My application is an MDI application. Each file is opened in a new child
window. However, if the application is already running, it does
according to the initial CommandLineArgs value. If there were no initial
command line args, then double-clicking on a new file does nothing. If
there was an initial CommandLineArg value, it re-opens the initial file
contained therin.
So, if the app is already running, and I double-click a file to open it,
how do I get my app to respond and open the clicked-on file?
application. Double-clicking on a file will open the code-editor and
open the file. Works great.
My application is an MDI application. Each file is opened in a new child
window. However, if the application is already running, it does
according to the initial CommandLineArgs value. If there were no initial
command line args, then double-clicking on a new file does nothing. If
there was an initial CommandLineArg value, it re-opens the initial file
contained therin.
So, if the app is already running, and I double-click a file to open it,
how do I get my app to respond and open the clicked-on file?