Windows Shell Context Menu recreated with qt
Is there a way to query from qt the entries of the s开发者_如何学运维hell context menu (name and command)? Only if the application is run on Windows of course.
This is very similar to this question, basically SHParseDisplayName+SHBindToParent to get IShellFolder, then call GetUIObjectOf on that to get IContextMenu. That is the "native" way to do it, not sure if qt has any wrappers you can use.
精彩评论