Rudolf Meier 271 Reputation points

as far as I have understood this, Microsoft want's us to use the IExplorerCommand-way to provide context menu items for shell extensions (optional in Windows 7 to 10, required in Windows 11)

(is that correct? I hope so?)

so, does that mean, that we should not / can not use the shellex\ContextMenuHandlers-way anymore? (if we don't want our commands to be placed into the "show more" sub menu ??)

if that's also the case... then... how can I create a context menu that shows my commands when I right click on the empty space of my root folder or all the folders that are not directories (for directories, there is a \background sub key in the registry that I can use) ... I can place my commands into every context menu I want, exept into the folders (not representing a directory or the desktop) of my shell namespace extension

... how's that working?


Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,064 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Xiaopo Yang - MSFT 7,106 Reputation points Microsoft Vendor