Everyone knows what happens when you double click a text file ending with *.txt, it opens Notepad or what ever you customized it to open.

Lets say I created a simple text editor and I have already configured the program to be the default editor in Windows for files ending in *.text. What event looks to see if it has been initialized by a file?


You should check wether your application is executed with a command line parameter; which should be the name of the file clicked.

Loren Soth