Creating Splitters and subsplits
I am really new to MFC and to learn MFC im making an newsreader client
(NNTP). I have begun with the GUI. In the gui i want a splitted window
with a left side and a right side. On the right side i want a top part
and low part (like outlook express). I have the following code:
BOOL MainWindow::OnCreateClient(LPCREATESTRUCT lpcs,CCreateContext*
child = new SplitWnd(this);
sub = new RightSplitWnd(child);
This doesnt work. When i run the program i get an exception in the
CSplitterWnd code. What is wrong?
And one more question: How does the program get hold of the views? Do
i have to override the GetPane(int,int) in CSplitterWnd?