CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Adding extra windows to SDI program

    I would like to add a second window to my SDI program which will display status information on my program. On the other part of the main window, I'd like the standard view to appear.

    Im thinking I'd add a dialog type window to the left third of the screen and the remainder would be the regular view.

    How do I do this? I don't know what to add to the CMainFrame class to create this extra window. Can someone provide some fake code to do this?


    Thanks
    Joe


  2. #2
    Join Date
    May 1999
    Location
    Farnborough, Hants, England
    Posts
    710

    Re: Adding extra windows to SDI program

    Actually, a splitter window sounds better (like Windows Explorer) - the two panes can have different view classes, so the left could become a CFormView and the right pane could be your normal view. You would override the main frame's OnCreateClient() and create your CSplitterWnd there, instead of the base class call.

    --
    Jason Teagle
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured