windows - How to add custom menu upon right click on file / folder programmatically in c++ / QT? -


we have app syncs files , folder way dropbox does. c++ / qt based installer.

we add custom menu in right click context menu of file or folder way dropbox in below screen shot.

we targeting both windows & mac platforms. can suggest me how start it?

enter image description here

on mac, you're going have problems adding general finder context menu has been deprecated.

so, may thinking, if it's deprecated, how dropbox this? i've researched in past, believe use code injection inject running finder application's address space , objective-c feature known method swizzling change calling method 1 of own, located in injected code.

this hardcore , low level, if you're going go on journey, can start looking library called mach_inject , googling it. source code can found here: -

https://github.com/rentzsch/mach_inject

however, aware there believe code-injection wrong , won't install dropbox or other software uses it. in addition, if you're planning on releasing product in mac store, wouldn't expect application performs code injection allowed.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -