Click to See Complete Forum and Search --> : Adding extra windows to SDI program


May 11th, 1999, 11:37 PM
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

Jason Teagle
May 12th, 1999, 02:22 AM
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.