![]() |
Tabbed SDI |
Post Reply
|
| Author | |
clintsinger
Newbie
Joined: 15 May 2003 Location: Canada Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Topic: Tabbed SDIPosted: 31 December 2003 at 2:00pm |
|
Hi All. I have a program where I would like to have multiple views to a single document. But I also want to have each view to have a tab like I would in an MDI application with CXTPTabClientWnd. Is there any way to accomplish this? Cheers and Happy New Year! Clint Singer |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 January 2004 at 2:16am |
|
We are currenlty working with TabManager, this feature will be available in the end of January.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
ddyer
Groupie
Joined: 01 December 2003 Location: United States Status: Offline Points: 40 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 January 2004 at 3:46pm |
|
clintsinger, You can do this with CXTPTabView. I have an SDI application with tabs for multiple views to a single document. Just modify the generated CMyAppView class to inherit from CXTPTabView. Then, if you want to add a view/tab, I just do this: AddView(_T(title.GetBuffer()), RUNTIME_CLASS(MyClassView), GetDocument(), NULL, -1, 0); where MyClassView is the view to create for the tab. For example, CXTListView if you want a list. The above technique has a drawback: Users can't drag/rearrange tabs like they can in visual C++. Its also a bit indirect to determine which tab is frontmost (you get a wnd* ptr rather than a tab index). Oleg's tabmanager sounds like it would be really helpful.
|
|
![]() |
|
Kenneth
Senior Member
Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 February 2005 at 7:57pm |
|
Is the TabManager able to do this yet?
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |