Hi !
Can anybody approve me, how I can create a non-resizable spliter in the SDI.
Thanks.
-Wladi.
Printable View
Hi !
Can anybody approve me, how I can create a non-resizable spliter in the SDI.
Thanks.
-Wladi.
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);
}
There is an article on this in this web site. http://www.codeguru.com/splitter/restrict_size.shtml