Many times it is necessary to know whether a view is currently split or not. This method will return TRUE if the view is split and FALSE if it is not. NOTE: It does NOT detect multiple views, so don't use it to determine whether UpdateAllViews should be called!
CSplitterWnd * parent;
parent = (CSplitterWnd*)GetParent();
rows = parent->GetRowCount();
cols = parent->GetColumnCount();