Tabs on all my MidClients?
-
Ok ... I want to have Tabs on all my MDIClients of my application so all I need to do is this .... In my CMainFrame::OnCreateClient method I add the lines ... tab = new MyTab(); tab.AddItem(this) ... right? Wrong of course. What should I be doing? I have looked at all the examples on TabControls none of them are what I need and I really don't understand MFC. Please help you might "win" a convert. (pardon the pun)
-
Ok ... I want to have Tabs on all my MDIClients of my application so all I need to do is this .... In my CMainFrame::OnCreateClient method I add the lines ... tab = new MyTab(); tab.AddItem(this) ... right? Wrong of course. What should I be doing? I have looked at all the examples on TabControls none of them are what I need and I really don't understand MFC. Please help you might "win" a convert. (pardon the pun)
check out the doc/view section here on cp there are a few very good articles / frameworks for what you want :)
situations to avoid #37:
"good morning ... how many sugars do you take in your coffee ... and what was your name again?"coming soon: situations to avoid #38: "...and the dog was there too?"
-
check out the doc/view section here on cp there are a few very good articles / frameworks for what you want :)
situations to avoid #37:
"good morning ... how many sugars do you take in your coffee ... and what was your name again?"coming soon: situations to avoid #38: "...and the dog was there too?"
Thanks for the info ... but the examples there are pretty much the same. They have MDI "client" brought to the front by clicking on a tab in the MDI "main frame". I would like to have the tabs inside the "client". I can see that having the tab on the "main frame" has its advantages but that is not what my user wants. Here's what i am trying to do ... http://www.codeproject.com/useritems/newtomfcneedhelp.asp Thanks:)