WebView pops a download/save dialog - how to disable?

Shoom wrote:

I wrote a program that has a viewer for arbitrary files.
the code is

html2contorl.LoadURL(filename)
If the file is recognized, it's being shown in the html2 control.

But if it's not known (e.g. "xxxxx.bak" file) it pops up the following
dialog.
I'd like to prevent it from poping up, and silently do nothing (or catch
an exception).

*Is it possible to disable to catch this dialog from within WebView, *

Not that I know of, but ask in the wx-users group to be sure.

···

--
Robin Dunn
Software Craftsman