Form View Splitter
-
What I need to do is create a form view SDI app that has two different forms seperated by a splitter control. Well maybe I do. What I need is a top window that is stationary and a lower window that the user can scroll. What it is is a form that I want the header to always stay on top and in view. Just like some excel sheets do. Is this possible? What is the easiest way of implimenting this? I already have an SDI form view with a splitter control but the 2 panes are of the same window. I have already done a few searches but I think I am looking for the wrong thing. Thanks for your help. Darroll Not one person lives in the present. Only the past. I can prove it.
-
What I need to do is create a form view SDI app that has two different forms seperated by a splitter control. Well maybe I do. What I need is a top window that is stationary and a lower window that the user can scroll. What it is is a form that I want the header to always stay on top and in view. Just like some excel sheets do. Is this possible? What is the easiest way of implimenting this? I already have an SDI form view with a splitter control but the 2 panes are of the same window. I have already done a few searches but I think I am looking for the wrong thing. Thanks for your help. Darroll Not one person lives in the present. Only the past. I can prove it.
Check out: Reusable base class for SplitterWnd here in CodeProject. What you can do is not allow the top form to be resized in the class by handling WM_SIZE appropriately, and just swap out the bottom pane. "If at any time I announce that a nation or kingdom is to be uprooted, torn down and destroyed, and if that nation I warned repents of its evil, then I will relent and not inflict on it the disaster I had planned. And if at another time I announce that a nation or kingdom is to be built up and planted, and if it does evil in my sight and does not obey me, then I will reconsider the good I had intended to do for it." -- Jeremiah 18:7-10 (God, commenting on the value of the United Nations)
-
Check out: Reusable base class for SplitterWnd here in CodeProject. What you can do is not allow the top form to be resized in the class by handling WM_SIZE appropriately, and just swap out the bottom pane. "If at any time I announce that a nation or kingdom is to be uprooted, torn down and destroyed, and if that nation I warned repents of its evil, then I will relent and not inflict on it the disaster I had planned. And if at another time I announce that a nation or kingdom is to be built up and planted, and if it does evil in my sight and does not obey me, then I will reconsider the good I had intended to do for it." -- Jeremiah 18:7-10 (God, commenting on the value of the United Nations)
Thank you. I was so new at SDI FormView apps, too many Dialog apps, I missed that whole section. Thank you. Darroll Not one person lives in the present. Only the past. I can prove it.