This is 1 of 2 related questions on MFC, asked on same day.
My App is MFC, Doc/View, SDI. Using MFC 4.2 with Visual C++ 6
The main view contains a FormView derived class
When the app is opened only this is View is shown
When the user takes some action (like a Special File New/Open) I want to open up a splitter. The splitter is vertical. On left pane, my formview derived class. On the right pane there is a special scrolling list (see other question if you are interested in detail of this)
I do not believe a dynamic splitter will do the job, as this requires all the views to be of the same time
Therefore I think I need a static splitter
The question is how can I create a static splitter after the app is already running?
The possible trick I have thought of is to make the 2 panes always at start, and hide (or make zero width) the right pane.
What is the best way to solve this. Needs to be bullet proof as I can not rely on friendly users to with limitations. (example: if I make a zero with pane, there must be no way a user can make it bigger unless I saw so)
I realize this could be hard, so if it someone spends a lot of time (like makes a test program or gives actual code), I will give exrta points, as I have lots to spare.