Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 14th, 2005, 02:33 PM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem about a splitted window

Hello everybody, I create a simple program by now it's like a notepad but I splitted the main window in 2 windows I need to open a file (input.txt) and see that file in the two window, but I don't know what I can do!!

//That's the splitter code

BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext)
{
// create splitter window
    if (!m_wndSplitter2.CreateStatic(this, 2, 1))
        return FALSE;

    if (!m_wndSplitter2.CreateView(0, 0, RUNTIME_CLASS(CHolderView), CSize(100, 100), pContext) ||
        !m_wndSplitter2.CreateView(1, 0, RUNTIME_CLASS(CHolderView), CSize(100, 100), pContext))
    {
        m_wndSplitter2.DestroyWindow();
        return FALSE;
    }
    return TRUE;
}

Help is appreciated!!

(Contact me also with email for other particulars)

Thank to all!
Reply With Quote
  #2 (permalink)  
Old March 17th, 2005, 03:05 PM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

None can help me?
:(:(:(

Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in window form Dev_gh78 C# 4 August 1st, 2006 12:51 AM
open window problem geogomez Javascript How-To 2 December 9th, 2005 05:23 AM
window.open() problem liorlankri ASP.NET 1.x and 2.0 Application Design 3 December 22nd, 2004 09:38 AM
Problem with window.open fs22 Javascript 9 April 28th, 2004 11:32 PM
Window pane problem takabyte Classic ASP Basics 1 October 31st, 2003 01:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.