April 10th, 2013, 12:00 PM
Could use some help with this interface
I have been working with a MDI 3-way child splitter that works pretty well - but I cannot figure out how to precisely control the split windows.
The basic idea is to split each child window as shown below.
IOW, I want A and B to be split equally, and I want to be able to toggle (show/hide) C.
My problem is that in order to get the initial split that I want with each new child, I have used CChildFrm::OnSize to set up the split sizes such that every resize or new child or update reproduces the original split, making it impossible for the user to hide C as it keeps reappearing. While admittedly this is largely an aesthetic issue, it has bothered me for months, so I thought I would ask you all for help.
A sample demonstrating the problem is attached.
Thanks for any help you might provide.
Last edited by Mike Pliam; April 10th, 2013 at 12:29 PM.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!