Jump to content
Sign in to follow this  
=sinister=

Web Site Browser

Recommended Posts

=sinister=

Ok, here is a weird question. I need a browser (Like the cwebpage.dll one) but I need to be able to read the links that the user clicks, and be able to connect to a certain site.

Like:

DllCall($dll, "long", "DisplayHTMLPage", "hwnd", $internetgui, "str", $site)

but, I need to retreive the links that the user clicks. Er sorry about my poor explanation, hope someone can help me.

Share this post


Link to post
Share on other sites
JustinReno

ummm.. Is the link in the web page, or in the gui?

Share this post


Link to post
Share on other sites
JustinReno

If you click a link on the webpage, it should just navigate to it.

Share this post


Link to post
Share on other sites
=sinister=

No, i'm talking making my own web browser, not the Internet Explorer. If you download the program on that link, you will see that when you run it and go to a website, it will not update the combobox with the correct link.

Share this post


Link to post
Share on other sites
JustinReno

OOOOOOOOOOOOOOOOOOH!

Well,

Do you mean if you visit the link will it add it to the combo box?

If so:

Look up: _GUICtrlComboInitStorage

OR

When you visit the link you want the combo box to update to that link?

If so:

Lets say the combo box (put a variable infront of it ($ComboURL or something, whatever you want)) is named $ComboURL

CODE

$ComboURL = GUICtrlCreateCombo("www.google.com", 120, 120)

In your while loop:

CODE

code... blah blah

while 1

Gui Get message stuff, case, select, whatever is there, somewhere in there put

$ComboURLRead(Or something like that) = GuiCtrlRead($ComboURL)

GuiCtrlSetData($ComboURL, $ComboURLRead)

Hope this helped!

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  

×