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

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • With the average hard drive now averaging one terabyte in size, the fallout from the explosion of user-created data has become an overwhelming volume of potential evidence that law-enforcement and corporate investigators spend countless hours examining. Join Us and SANS' Rob Lee for our 45-minute webinar, A Triage and Collection Strategy for Time-Sensitive Investigations, will demonstrate how to: Identify the folders and files that often contain key insights Reduce the time spent sifting through content by …

Most Popular Programming Stories

More for Developers

RSS Feeds