Thread View: borland.public.cppbuilder.internet.socket
3 messages
3 total messages
Started by Bill M
Sat, 26 Nov 2005 02:03
force webbrowser to open new window
Author: Bill M
Date: Sat, 26 Nov 2005 02:03
Date: Sat, 26 Nov 2005 02:03
9 lines
1338 bytes
1338 bytes
I use BCB4 pro and have imported the Microsoft Internet Controls. I have successfully loaded a local html file with links in it. When I click a link I'd like it to respond in the same way a shift-click or right-click and Open in New Window does...in other words, open up IE. Any pointers/ideas? I've read Microsoft's docs and done some googling but seems everyone else is concerned with stopping new windows, which is opposite of what I want. TIA
Re: force webbrowser to open new window
Author: Bob Gonder
Date: Sat, 26 Nov 2005 17:58
Date: Sat, 26 Nov 2005 17:58
7 lines
1219 bytes
1219 bytes
Bill M wrote: > When I >click a link I'd like it to respond in the same way a shift-click or >right-click and Open in New Window does...in other words, open up IE. ShellExecute() the URL.
Re: force webbrowser to open new window
Author: Hans Galema
Date: Sun, 27 Nov 2005 14:22
Date: Sun, 27 Nov 2005 14:22
15 lines
1741 bytes
1741 bytes
Bill M wrote: > I use BCB4 pro and have imported the Microsoft Internet Controls. I > have successfully loaded a local html file with links in it. When I > click a link I'd like it to respond in the same way a shift-click or > right-click and Open in New Window does...in other words, open up IE. > Any pointers/ideas? I've read Microsoft's docs and done some googling > but seems everyone else is concerned with stopping new windows, which > is opposite of what I want. You did not tell that you use TCppWebBrowser. If you do then use the OnBeforeNavigate event to determine if you open the link in a new window. Hans.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads