Multiple Browser Windows in an App.



Click here for larger image

Environment: Visual C++

I always wanted to open multiple sites in one explorer window, but was unable to do so until I explored the splitter window's concept. I also created a window with multiple windows having multiple CHtmlView as the base class, and voila it worked.

The application works in the same way as Internet Explorer works but the only advantage is that u can open maximum of six Web pages/sites under one roof. Isn't it great?

Downloads

Download source - 178 Kb
Download Exe - 23 Kb


Comments

  • Great Work

    Posted by Legacy on 07/16/2003 12:00am

    Originally posted by: qazi

    its rearly very excelent work that uhave done.it can help much .i want to say u congradulation on such a good work u r rearly a good programmer.
    code gurur is a verygood site for people

    Reply
  • You could just use http://www.URLinOne.com

    Posted by Legacy on 01/31/2003 12:00am

    Originally posted by: Lee Grey

    You don't have install anything.

    Reply
  • Brilliant Stuff

    Posted by Legacy on 11/16/2002 12:00am

    Originally posted by: Ravi Kant

    Oh that is brilliant.

    I always wanted to open atleast 2-3 sites in one window. Now that is posible. It is Great.

    I wish I could change the no. of windows and set the home page for each window.

    Maybe you can make that possible.

    Reply
  • Unnecessary Items...

    Posted by Legacy on 11/15/2002 12:00am

    Originally posted by: Critical Jones

    The WebPage2.cpp through WebPage6.cpp are totally unnecessary. After all, it is the same code! Simply modify the MainFrm.cpp code (in OnCreateClient) to instantiate multiples of the same WebPage1 object:
    if (!m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CWebpage1),//Splitter Pane at 0th row and 0th coloum
    CSize(375, 150), pContext))
    {
    TRACE0("Failed to create HtmlView1\n");
    return FALSE;
    }
    if (!m_wndSplitter.CreateView(0, 1, RUNTIME_CLASS(CWebpage1),//Splitter Pane at 0th row and 1st coloum
    CSize(375, 150), pContext))
    {
    TRACE0("Failed to create HtmlView2\n");
    return FALSE;
    }
    etc...

    Now you can delete the unneeded files. Other than that - pretty cool.

    Reply
  • Wow!!!....

    Posted by Legacy on 10/18/2002 12:00am

    Originally posted by: TT

    This is an extremmely good stuff I've ever seen!
    Thanks for the contribution!
    TT.

    Reply
  • Its Some Cool Stuff....

    Posted by Legacy on 02/19/2002 12:00am

    Originally posted by: gaurav agarwal

    Well i find it very innovative and a bit different from usual...

    Reply
  • how to replace the transport layer with an other transport protocol for these browser?

    Posted by Legacy on 01/26/2002 12:00am

    Originally posted by: kecnauth

    I'd just like to show some pages with the browser view. The pages are gotton through other communication ways from Server at Internet. How to take the default HTTP/TCP/IP protocol stack away, and to utilize another transport facilities?

    Reply
  • I wrote this a while back...

    Posted by Legacy on 01/25/2002 12:00am

    Originally posted by: Rick McClanahan

    Check out what I created a couple years ago along these lines: http://www.thewebracer.com

    Rick

    Reply
  • wow

    Posted by Legacy on 01/23/2002 12:00am

    Originally posted by: Steven

    hmm You have inspired me, NOW I shall try to do the same in vb...wish me luck.

    Reply
  • wow!!!!!..........great job man

    Posted by Legacy on 01/11/2002 12:00am

    Originally posted by: Rajni

    ......good one.
    keep it up.

    Reply
  • Loading, Please Wait ...

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • On-demand Event Event Date: December 18, 2014 The Internet of Things (IoT) incorporates physical devices into business processes using predictive analytics. While it relies heavily on existing Internet technologies, it differs by including physical devices, specialized protocols, physical analytics, and a unique partner network. To capture the real business value of IoT, the industry must move beyond customized projects to general patterns and platforms. Check out this webcast and join industry experts as …

  • Today's agile organizations pose operations teams with a tremendous challenge: to deploy new releases to production immediately after development and testing is completed. To ensure that applications are deployed successfully, an automatic and transparent process is required. We refer to this process as Zero Touch Deployment™. This white paper reviews two approaches to Zero Touch Deployment--a script-based solution and a release automation platform. The article discusses how each can solve the key …

Most Popular Programming Stories

More for Developers

RSS Feeds