Jump to content
Sign in to follow this  
dufran3

Show IE page embedded in Child Window

Recommended Posts

dufran3

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)

Share this post


Link to post
Share on other sites
dufran3

Well...I'm a little afraid to ask any more of you...you've helped me tons. I don't want to bug you any more...it isn't that important.

Share this post


Link to post
Share on other sites
dufran3

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

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.