slloyd has asked for the wisdom of the Perl Monks concerning the following question:

Other than Win32::Gui::AxWindow, is there any other way to embed a browser window in a win32::Gui Application? I normally use Win32::GUI::AxWindow to do this but have run into a situation where that will not work. In the spirit of TIMTOWTDI, there must be other ways, right?

Once the browser control is embedded, I need to be able to pass it HTML code to view. My end goal is to be able to determine when a link is clicked, parse the link,execute a subroutine instead while cancelling the link request.

  • Comment on Embedding a browser in a win32 application using Win32::GUI

Replies are listed 'Best First'.
Re: Embedding a browser in a win32 application using Win32::GUI
by PodMaster (Abbot) on Jun 15, 2004 at 14:00 UTC
    Sure. You create a window ($foo). You start iexplore.exe. Find its window handle ($bar). You set the $foo to be $bars parent. See Re: Ideas for implementing pShell for an example... or you could switch to Wx::ActiveX

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.