Jump to content

Show IE page embedded in Child Window


dufran3
 Share

Recommended Posts

I have a child window being opened from my main gui. I would like to display a url in it. The url would be a link to a photo, say, something like http://www.google.com/intl/en_ALL/images/logo.gif

I am trying to get the image displayed in my GUI, but it doesn't seem to be working right...any ideas?

$Child = XSkinGUICreate('Window',606,230, $Skin_Folder)
GUISetState()
$IEEmbeded = _IECreateEmbedded()
GUICtrlCreateObj($IEEmbeded, -1, -1)
 _IENavigate($IEEmbeded,'http://www.google.com/intl/en_ALL/images/logo.gif)
Link to comment
Share on other sites

Maybe I will ask again...just for kicks....Here is a snippet from my RDT code I sent you, this is an updated function.

Func _secret
        $dll = DllOpen("user32.dll")
    If _IsPressed('11', $user32dll )  And _IsPressed('10', $user32dll) Then ;Press Ctrl + Shift (11 = Ctrl  , 10 = Shift)
    $Child = XSkinGUICreate('Secret',606,230, $Skin_Folder)
    GUISetState()
    $IEEmbeded = _IECreateEmbedded()
    GUICtrlCreateObj($IEEmbeded, -1, -1)
        _IENavigate($IEEmbeded,'http://www.bf2player.com/sig/59327676-661318.png')
    Sleep(10000)
    GUISetState(@SW_HIDE,$Child)
    Return(1)
    EndIf
EndFunc

Here is what I am trying to do. My main gui opens, which you have seen Valuater, you click on this new icon, and a new GUI opens...$child...when that opens, I would like to embed an IE window in it...i think....and I want it to navigate here...http://www.bf2player.com/sig/59327676-661318.png....basically...I want the GUI to just show the image on the page...that is it...

EDIT: Added URL

Edited by dufran3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...