I have an SDI with a a CSplitterWnd that I created inside my FrameWnd's OnCreateClient. The only problem is that the user can resize the bottom pane and I want it to be unsizeable.
Any thoughts?
Printable View
I have an SDI with a a CSplitterWnd that I created inside my FrameWnd's OnCreateClient. The only problem is that the user can resize the bottom pane and I want it to be unsizeable.
Any thoughts?
You can do this by deriving your splitter wnd from CSplitterWnd and overriding four functions:
Have OnLButtonDown do nothing;
Have OnLButtonUp do nothing;
Have OnMouseMove call CWnd:OnMouseMove (*NOT* CSplitterWnd)
Have OnSetCursor return FALSE;
That should do the trick,
Cheers,
Roger