I'm using PHP-GTK on Windows, and am calling the following:
$browser=New COM("InternetExplorer.Application");
$browser->Visible - true;
$browser->Navigate($pdffile);
This lets me display a pdf file just generated by the PHP-GTK program, but the browser window often shows behind the PHP-GTK program window, causing confusion.
Is there something like
$browser->BringToFront(true);
or something? I can't find one. Also, if you know a good reference for this kind of stuff....