Click to See Complete Forum and Search --> : UnResizable Splitter


May 3rd, 1999, 08:56 AM
Hi !

Can anybody approve me, how I can create a non-resizable spliter in the SDI.

Thanks.
-Wladi.

BrianOG
May 4th, 1999, 09:32 AM
Derive a class from CSplitterWnd and catch the following messages:
WM_LBUTTONDOWN
WM_LBUTTONUP
WM_LBUTTONDBLCLICK
WM_MOUSEMOVE
In each case return the CWnd handler instead of the CSplitterWnd handler. E.g.:
void CFixedSplitter::OnLButtonDblClk(UINT nFlags, CPoint point)
{
CWnd::OnLButtonDblClk(nFlags, point);
}

May 7th, 1999, 08:44 PM
There is an article on this in this web site. http://www.codeguru.com/splitter/restrict_size.shtml