You can't wrap an activex control when using native messaging -- at
least not without abusing implementation details that could change. If
you want to try to do that you could look at the code for IEFrame
which did that last I looked, but basically what they do is use voodoo
to grab the HWND for a div in the browser and take it over, which is
not recommended or supported by any browser. (I'm kinda shocked it
works).
The problem is that we don't have a HWND in the browser; you could
probably use an activex control in a hidden window outside of the
browser and then somehow send the data across, I suppose, but it'd be
quite a research project.
Richard