I am trying to extend whindows explorer (NOT IE) with a customized panel in C++, which should look like this:
and here's a similar question I found (in C#) : Similar question
The question is of C# and already got an answer.
But I myself find the answer is a bit too brief for me to follow, here's what I got:
and my questions are:
I've tried to reproduce what the similar question said for days, but no luck by now.
I'm really new to BHO and all such stuff, kindly please help me out of this, thanks.
For such Explorer extension I create 2 object. First implements BHO (IDispatch and IObjectWithSite). Second implements IObjectWithSite, IOleWindow, IDockingWindow, IInputObject and IOleCommandTarget.
1) The logic of showing of your window depends on what you want to realize.
2) Parent window you can get inside Second.SetSite:
Site.QueryInterface(IDockingWindowSite, FDockingWindowSite);
FDockingWindowSite.GetWindow(FParent);
3) Just register your BHO as standard BHO.
It took a LONG time for me to create and debug such extension. If you are not expert in this sphere think again - do you really need this functionality. But if you really decided you need then try to create and register simple BHO first. And only when BHO works correctly add IDockingWindow implementation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With