I created simple MFC(VS2010) MDI application.
I need the panes to be resizeable or non-resizeable according to clicking a button.

How should I do it?