If you want to have a “Split” item on the menu instead of just using the split boxes in the scroll bars call this method. This is very useful if you want to split a view that has no scroll bars.
void CMySplitterView::OnWindowSplit() { ((CSplitterWnd*)GetParent())->DoKeyboardSplit(); }