Question

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".

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top