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: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • Mobile devices, social business apps, and business analytics are converging with the Cloud to create the most substantial changes in technology since the Internet revolution. Businesses have to change the way they think and operate, and with rising budgets for technology, they need someone to provide the services that will keep them competitive in this environment. Learn more about the important technology trends you need to stay on top of to ensure your business doesn't get left behind.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds