CSplitterWnd::SetScrollStyle
Visual Studio 2010
Specifies the new scroll style for the splitter window's shared scroll-bar support.
void SetScrollStyle( DWORD dwStyle );
Once a scroll bar is created it will not be destroyed even if SetScrollStyle is called without that style; instead those scroll bars are hidden. This allows the scroll bars to retain their state even though they are hidden. After calling SetScrollStyle it is necessary to call RecalcLayout for all the changes to take effect.