Specifically, I would like to get the selected object, similar to the way you do in ArcCatalog through
Is there a way to do this?
So far I can get the Catalog DockableWindow but am stumped from there.
After some experimenting, I found that the answer is surprisingly simple - from version 10 on, the ArcMap application object (esriArcMap.Application) also implements IGxApplication, besides the expected IMxApplication.
This means you can easily access IGxApplication.SelectedObject and work with the catalog in other ways, just like you would in ArcCatalog as usual.