I have an old application which used HTML Viewer for webpages. It also communicated back (webpage interaction) to XoJo parent using the bowser status and the StatusChange event.
Of course altering the browser status is no longer available via JavaScript. I do notice that JavaScript alert() creates a message box outside the HTMLViewer object. Is it possible to subclass the MsgBox control to have HTMLViewer pass me messages from webpage JavaScript.
The application already uses a subclassed HTMLViewer exposing the events to my new class, so I was hoping if I subclassed MsgBox within that same class; maybe the JavaScript alert(); function (called within the HTMLViewer object) would use my modified MsgBox, preventing the box; but pulling the message content.
Thanks,
Jim
6 posts - 3 participants