|
-
April 24th, 1999, 07:30 AM
#1
Creating non-sizeable splitter windows
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?
-
April 24th, 1999, 02:15 PM
#2
Re: Creating non-sizeable splitter windows
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|