views:

34

answers:

1

Is there a way to query from qt the entries of the shell context menu (name and command)? Only if the application is run on Windows of course.

+2  A: 

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.

Anders