sharpshell
sharpshell copied to clipboard
Question: What about InfoBar extensions?
So, as the repository is quite active maybe someone knows an answer (as I already asked this once a long time ago).
Is it possible to create an "InfoBar" Extension? Is this just a NamespaceExtension? (I know that NamespaceExtensions are quite difficult and can be many different things, and that they are in "Alpha" state right now for SharpShell Server, but...)
In this bar at the bottom of the Explorer (Explorer is in dark theme, Recent Update ftw):
Basically what I want is the same as the example SharpShell ToolTipExtension - showing the contents / size of a folder. But I want it in the InfoBar, not as a ToolTip.
Any hint/help/answer appreciated. As always, tyvmia.
Hi @Countryen,
I've done a bit of research, and I think the only way to do this is by creating a Shell Namespace extension, then using the IShellBrowser::SetStatusText function.
The closest reference I could find is this:
https://social.msdn.microsoft.com/Forums/azure/en-US/32a6b9a0-f77b-4ed4-a5a0-cd268e00f323/status-bar-issue-with-namespace-extension-for-windows-explorer-on-windows-10?forum=windowscompatibility
It is possible that you might be able to somehow show a property, which was provided by IPropertyStore but so far it looks like it would have to be a full-fat namespace extension.
Have you found anything which might indicate otherwise? If not then I will probably fold this into the feature ticket for Namespace extensions (#125) and make sure we include it as a sample. WDYT?
Hi @dwmkerr, Thanks for all the research, I didn't even know the name of the "feature", thought it was called "InfoBar".
Will once again try using Namespace Extension. Sure, would be great to have an example in the docs 👍