I need to display my own dialog box when users download a file from the net. This is so that I can force where the file gets saved to.

My app. is built using VC++ and the WebBrowser control.

I have seen another product (DownloadGenie) that does this with IE. How is it done?