This nifty utility is an ATL 3.0 project built with VS.NET (not using .NET, though), showing you how you can use new C++ extensions in your source files instead of having to upkeep endless IDL files.
As a Browser Helper Object, this extension to Internet Explorer also shows you how to add functionality with the need for a IDeskBand Toolbar or Explorer bar and shows you how to advise events using macros instead of IConnectionSinks, which can be a bit of a pain and always extra code. For most cases, you can derive from IDispEventImpl<>, which allows you to use macros as with other ATL functionality, similar to message handlers in MFC.
Please note, there is already a compiled file in the Release subdirectory. Simply run "regsvr32 iebhos.dll" from that directory and restart Internet Explorer. You'll find new options in your "Advanced" tab in your Internet Options control panel that determines how to handle Popup Windows. The default is to prompt you when a site tries to open a popup window. You can also allow them or disable them completely.
|