Domanda

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

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top