Click here to Skip to main content
14,455,338 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am using MFC MDI Application, where in I need to disable the divider which seperates, File View Pane in the left with the Editor and Output window to the right in my Mainframe.,

I tried to set the SW_NOSIZE and similar changes to onNCHTTest to HT_NOWHERE in my File View class, but of no avail,

Basically, the Mouse click on resize of the divider which seperates two entities viz., File View and Editor View should be disabled for View Size Changes/should be made static.

Please let me know ways to accomplish the same.

Iam using VS2008 IDE on WinXP SP2 O/S,

Any help in this would be appreciable.,

Abhi Lahare 28-Mar-11 14:48pm
Do you need to disable Splitter bar which separates two left and right view?
Vishal_K89 28-Mar-11 23:42pm
Yes, The divider/splitter bar needs to be disabled from mouse changes.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

May be this [^]will help you.
Vishal_K89 1-Apr-11 4:24am
Hi Abhi,

The requirement is similar to disabling the divider(splitter bar) which seperates two panes, ie., File View, and Others similar to look and feel of VS2008, where all tabs pertaining to solution explorer,class view,properties etc., on one end, and editor at the other end, the divider/splitter should be disabled for resize,
I am not using CSplitterWnd nor any class is derived, neither OnNchittest() worked!
just if we develop new project from Appwizard, the framewindow,divider needs to be disabled.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100