Print Page | Close Window

Having trouble with CreateFrameDocView()

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=15
Printed Date: 25 April 2024 at 9:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Having trouble with CreateFrameDocView()
Posted By: Jonas
Subject: Having trouble with CreateFrameDocView()
Date Posted: 15 May 2003 at 2:28am

Hi,

I've just installed the the 3.0 version of Xtreme Toolkit, I used 2.0 before.

I'm now having trouble with the CXTDockWindow::CreateFrameDocView() function. I'm using a CXTTabCtrlBar with two tabs, each tab has it's own CView and CDocument derived classes. The views are working with different documents. I only get the first view visible, the second view is not showing up.

I've read the KB article "005.007 - HOW TO: Use views with docking windows" for more details". But that didn't help me.

In version 2.0 I used CXTTabCtrlBar::AddView() (which worked perfectly for me), but unfortunately that method is now depreciated.

Do you have any idea on how to use a CXTTabCtrlBar with two of more tabs, and each tab has it's own document?

Sorry for my bad english.

Regards, Jonas




Replies:
Posted By: kstowell
Date Posted: 15 May 2003 at 12:49pm

Hello,

Please take a look at the TabCtrlBar sample project, in MainFrm.cpp around line 60 you will see how this is done for a tab control bar.  Please let me know if this helps.

Cheers...




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net