Page 1 of 1

wxExplorerBrowser

Posted: Wed Jul 03, 2019 9:40 am
by PB
wxExplorerBrowser is a wxWidgets control hosting IExplorerBrowser.

wxExplorerBrowser does not support all the features of IExplorerBrowser and may have some issues, see the comment for wxExplorerBrowserImplHelper::_SetFilter() in the source code. I ended up not using it in my project, it probably is not ready for production use but perhaps it could serve as an inspiration.

Source code can be found on its GitHub page.

Re: wxExplorerBrowser

Posted: Wed Jul 03, 2019 1:16 pm
by evstevemd
Hi,
I don't know much about Windows dev stuffs, but how does this differ from wxWebView on IE backend?

Re: wxExplorerBrowser

Posted: Wed Jul 03, 2019 3:01 pm
by PB
The I in IExplorerBrowser stands for Interface, not Internet. ;)

The control is basically what is the main part in File Explorer (or modern Open/Save File dialog), it has nothing to do with Internet Explorer. In wxWidgets terms the closest control would be wxFileCtrl.

Depending on many options, the control can look like e.g. this (from the demo, wxExplorerBrowser is the window between wxToolBar and and wxTextCtrl).
ebdemo1.png
ebdemo1.png (73.92 KiB) Viewed 364 times
ebdemo2.png
ebdemo2.png (71.53 KiB) Viewed 364 times

Re: wxExplorerBrowser

Posted: Wed Jul 03, 2019 7:32 pm
by evstevemd
That's very useful. Sorry for my ignorance!
Do you plan to extend it beyond Windows?

Re: wxExplorerBrowser

Posted: Wed Jul 03, 2019 7:38 pm
by PB
I do not think it can be extended, it is just a wrapper for a native windows control.

In fact, I do not plan to do anything with it. As I could not make filtering work in the folders which are part of Windows Libraries, I abandoned the project about 1.5 years ago and it has been rotting on my disk since.

I just thought to make it public in case it could help someone in doing or not doing something similar.

Re: wxExplorerBrowser

Posted: Thu Jul 04, 2019 7:35 am
by evstevemd
PB wrote:
Wed Jul 03, 2019 7:38 pm
I do not think it can be extended, it is just a wrapper for a native windows control.

In fact, I do not plan to do anything with it. As I could not make filtering work in the folders which are part of Windows Libraries, I abandoned the project about 1.5 years ago and it has been rotting on my disk since.

I just thought to make it public in case it could help someone in doing or not doing something similar.
I understand now.
Thanks for sharing.
Who knows some day one might take over it and maintain it!