Вопрос

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

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top