question on VC++ 6.0 [MFC]
I'm in the process of creating a utility program for a game I'm designing. The main form view has a tree control containing all the items. You select an item, then click 'Edit Properties' to modify that item. Upon doing so, a dialog box opens up. Now to my problem...
I want to put in a CTabCtrl object to organize the data, as there is quite a bit of it. I know how to create the ctrl, and I have a member variable setup for it in the dialog box. I don't, however, know how to add tabs or anything else to the control. I've searched online for tutorials, and cant find any that seem to cover this. I also can't seem to find any books that cover the topic very well.
If anybody here could help me get started on this, I'd appreciate it greatly.
Trickhat
You have to code it. You have to make a seperate dialog for each tab and load that dialog whenever the appro. tab is clicked on.
This is the type of thing that VB/Delphi/BCB/ and now .Net made much easier.
You can use ActiveX controls in MFC apps, though I never waded through that process so I don't know how easy or difficult it is. That would let you use the same tabbed dialog control that VB6 has.
This is the type of thing that VB/Delphi/BCB/ and now .Net made much easier.
You can use ActiveX controls in MFC apps, though I never waded through that process so I don't know how easy or difficult it is. That would let you use the same tabbed dialog control that VB6 has.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement