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

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

  • Best-in-Class organizations execute on a strategy that supports the multi-channel nature of customer requests. These leading organizations do not just open up their service infrastructures to accommodate new channels, but also empower their teams to deliver an effective and consistent experience regardless of the channel selected by the customer. This document will highlight the key business capabilities that support a Best-in-Class customer engagement strategy.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds