开发者

Windows Shell Context Menu recreated with qt

开发者 https://www.devze.com 2023-01-17 11:54 出处:网络
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, ba

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号