Displaying a downloaded icon

Let’s say that you want your Microsoft Foundation Classes (MFC) application to display an icon that it has downloaded, rather in the way that Internet Explorer displays icons on its tabs.  The first step is to download the remote icon to a local file.  Here is a function for doing that: void WebResource::Download() {        if(!(this->uniqueIdentifier))…

0

Working around a WebBrowser ActiveX control resize bug of which you may or may not have been aware

If you are hosting the WebBrowser ActiveX control in a native code application (perhaps following these instructions, then you may or may not have noticed that the control does not always resize correctly.  Specifically, if you maximize the application, then the same functions that will work properly to maximize any other child control (MoveWindow or SetWindowPos)…

0