Forum > Windows

IExplorerCommand shell extension

<< < (3/3)

rpetges:

--- Quote from: WayneSherman on January 22, 2024, 08:56:25 pm ---
--- Quote from: rpetges on December 22, 2023, 09:56:07 pm ---With Windows 11, Microsoft implemented changes regarding extending context menus. In fact, old shell extensions based on IContextMenu are now legacy and no more displayed in the context menu's root, but in a 'Show more options' sub-menu.
New shell extensions should be build with IExplorerCommand but no examples can be found.

--- End quote ---

Translation of IExplorerCommand from (older?) ShObjIdl.h
https://github.com/CMCHTPC/WindowsAPI/blob/master/Units/Win32.ShObjIdl.pas#L4220


--- End quote ---

Many thanks for the link, this should help to convert the COM object from IContextMenu to IExplorerCommand. Hopefully this will resolve the limitation of selecting max 17 items in Explorer for legacy shell extensions.

rpetges:

--- Quote from: d7_2_laz on January 23, 2024, 03:52:27 pm ---Screenshot (when project compiled & run on Win11) would look similar to mine?? That’s really fine ….  :)

--- End quote ---

Yes, screenshot looks exactly the same on Windows 11 as on Windows 10. In fact, it displays all the menu items available in "Show more..." in your demo application.

Jiyahana:
Microsoft has shifted to using IExplorerCommand for shell extensions moving away from the old IContextMenu.

Navigation

[0] Message Index

[*] Previous page

Go to full version