Author Topic: Tabbed MDI WebBrowser  (Read 6692 times)

0 Members and 1 Guest are viewing this topic.

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 2481
Tabbed MDI WebBrowser
« on: September 24, 2008, 08:17:44 PM »
 
This example implements a tabbed MDI WebBrowser. When you click a link in a web page that will open in a new window, the event is captured and the application creates a new tab and a new instance of the WebBrowser control, and the web page is displayed in it instead of opening a new instance of Internet Explorer.

You can also create new tabs by clicking the new tab toolbar icon or the new tab menu option, and being a MDI application, it allows cascading, vertical and horizontal tiling, and minimize.
« Last Edit: August 07, 2011, 09:04:03 AM by José Roca »

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 2481
Tabbed MDI WebBrowser v. 1.01
« Reply #1 on: September 26, 2008, 12:19:00 AM »
 
Added Refresh, Stop, Zoom In, Zoom Out, and popup blocker.

The popup blocker doesn't stop all kinds of popups, but it does a good job.

The zoom option simply changes the size of the font, as it does in Internet Explorer, so you won't see changes in web pages that use a fixed font size, such my web site or the PowerBASIC site and forum, but you will notice it in my forum.
« Last Edit: August 07, 2011, 09:04:31 AM by José Roca »

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 2481
Re: Tabbed MDI WebBrowser
« Reply #2 on: December 05, 2008, 02:48:17 PM »
 
The following version uses my OLE Container (OLECON.INC), instead of ATL.
« Last Edit: August 07, 2011, 09:04:59 AM by José Roca »

Offline Theo Gottwald

  • Administrator
  • Hero Member
  • *****
  • Posts: 899
    • it-berater
Re: Tabbed MDI WebBrowser
« Reply #3 on: September 05, 2012, 08:56:56 PM »
I have recompiled the project and have two problems:

1. It doesn't show any web-site.
2. The Controls are not drawn properly (winXP) see attached Picture.

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 2481
Re: Tabbed MDI WebBrowser
« Reply #4 on: September 05, 2012, 11:07:55 PM »
If you're going to compile legacy code with new headers, then specify the version you want to use. Add %WINVER = &H0501 before the #INCLUDEs. The size of the REBARBANDINFO structure is not the same for XP that for Vista/Windows 7.


Offline Theo Gottwald

  • Administrator
  • Hero Member
  • *****
  • Posts: 899
    • it-berater
Re: Tabbed MDI WebBrowser
« Reply #5 on: September 06, 2012, 07:20:29 AM »
I tried it, now it works!
« Last Edit: September 06, 2012, 08:41:10 AM by Theo Gottwald »

Offline Randall Glass

  • Newbie
  • *
  • Posts: 12
    • RadioTelephone Tutor : Get your FCC GROL License plus Radar Endorsement
Re: Tabbed MDI WebBrowser
« Reply #6 on: September 07, 2012, 01:02:54 AM »
I got Freeware Finder Desktop App completed.

Here is a picture of what it looks like.
Lassar

RadioTelephone Tutor : Get your FCC GROL License plus Radar Endorsement
http://RadioTelephoneTutor.com

Offline Randall Glass

  • Newbie
  • *
  • Posts: 12
    • RadioTelephone Tutor : Get your FCC GROL License plus Radar Endorsement
What dll does the OLE Container Tabbed MDI WebBrowser use?
« Reply #7 on: September 20, 2012, 12:50:05 AM »
I have read that windows in european countries don't necessary have internet explorer on them.

Do I need to get a runtime dll from microsoft to get the OLE Container Tabbed MDI WebBrowser to work on all windows computers.

What runtime dll would it be ?
Lassar

RadioTelephone Tutor : Get your FCC GROL License plus Radar Endorsement
http://RadioTelephoneTutor.com

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 2481
Re: Tabbed MDI WebBrowser
« Reply #8 on: September 20, 2012, 12:16:38 PM »
You don't need anything. Even if Internet Explorer is not installed, the WebBrowser control is. Internet Explorer uses the WebBrowser control, but the WebBroser control does not use Internet Explorer.