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: September 10, 2014 Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild." This loop of continuous delivery and continuous feedback is how the best mobile …

  • Information is data with context. The era of Big Data has begun demonstrating to information security that there is more that can, and must, be done to identify threats, reduce risk, address fraud, and improve compliance monitoring activities by bringing better context to data and thereby creating information for actionable intelligence. This analyst report sets the stage and provides insights into IT and information security practitioners' perceptions of the impediments to, and the solutions necessary for, …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds