Print Page | Close Window

AddView in CXTTabCtrlBar

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=53
Printed Date: 01 May 2024 at 11:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: AddView in CXTTabCtrlBar
Posted By: bcoffe2000
Subject: AddView in CXTTabCtrlBar
Date Posted: 09 June 2003 at 7:22am
In version 2.0 of the Toolkit I had been using the AddView Method that is part of the CXTTabCtrlBar.  However now 3.0 I get an error message when the program runs that says to not use this Method.  I've tried rewriting the code according to what the error message says but when I call "GetActiveView" from the FrameWnd that is created I always get NULL.  Does anyone have an example of using a CView * (not a RUNTIME_CLASS(CView) )as a Tab in a Tab Ctrl for 3.0 using the AddView Method?



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