by ndesktop » Thu Sep 24, 2020 2:50 am
I am not aware of a public example in C++ (and MFC nonetheless). However, you can use a CTabCtrl and associate every new browser creation with a tab using TCITEM::LPARAM.
After that, it's a matter of handling TCN_ show/hide the active browser (TCN_SELCHANGING hide current item associated browser, TCN_SELCHANGED show current item associated browser), close browser when tab item closes etc.