Click here to Skip to main content
15,886,046 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.,

Regards,
Posted
Comments
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

May be this [^]will help you.
 
Share this answer
 
Comments
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.

Regards,

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900