|
-
March 2nd, 2012, 02:22 PM
#1
MFC Splitter roadblock
I have been scouring the internet for help for the past two days and nothing I have found has been able to answer my...most likely simple...question.
I want to create and MFC application. Document/View architecture or not, doesn't matter. The goal is that I want a splitter window in the application. Divided into a left and right pane. The left pane will have a ListControl and radio buttons which, when selected, will display different edit boxes, scroll bars, etc. on the right pane.
I have seen tutorials on creating splitter windows. Doing that just fine. The best tutorial I found was one where the splitter windows were created without using the document/view architecture as avoiding that bloat would be appealing.
I am having a problem connecting the splitter window idea, to that of the panes interacting. I cannot figure out how to switch views on the right pane, from a button pressed on the left pane. That very basically example is what I am looking for. Currently I am using two dialogs with a base of CFormView for the layout in the left and right pane. I created a third dialog for the second right frame I would like to display, but I cannot figure out how to switch it.
Any help, or a link to a tutorial on how to do what I have described here would be incredibly helpful. As I said, I am about 2 days deep in google searches trying to find an answer to suit the needs of my application, but I have yet been unsuccessful.
Thank you so much,
-Patrick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|