Pergunta

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

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top