On windows, this is a registry setting. You can modify the registry setting from within your program but other than that it's up to the OS to launch your program.
Implement "open with" for a text editor in C++ [closed]
Frage
I tried to make a simple text editor in C++ and gtkmm and I want to know how to open a text file with that program using "open with". To be better understood let's say I have a text file called "test.txt" and I want to open that file with my program using "open with".
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow