Print Page | Close Window

Can I Add a FrameWnd to TabCtrol?

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=3295
Printed Date: 09 November 2025 at 12:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Can I Add a FrameWnd to TabCtrol?
Posted By: qinzhw
Subject: Can I Add a FrameWnd to TabCtrol?
Date Posted: 28 November 2005 at 8:05am

Is it possible to add a FrameWnd to a CXTPTabControl created with WS_CHILD|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS?




Replies:
Posted By: Oleg
Date Posted: 28 November 2005 at 1:40pm

yes.

grab some code in CXTPDockingPane::AttachView



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: qinzhw
Date Posted: 28 November 2005 at 7:26pm

Sorry, but could you please show me an example ? Still take the CTabbedView class for example, how to change code in CTabbedView::AddView or ansy other place?

you know, writing a line AddView(RUNTIME_CLASS(CFameWnd),_T("FrameWndDemo"),IDX_SOME ICON) or  AddView(RUNTIME_CLASS(CWnd),_T("SimpleWndDemo "),IDX_OTHERICON) in CTabbedView::OnInitialUpdate() doesn't work.

How to use CXTPDockingPane::AttachView?  thank you very much ,oleg.



Posted By: Oleg
Date Posted: 29 November 2005 at 12:49am

See modified sample:

http://forum.codejock.com/uploads/oleg/2005-11-29_004922_tv.zip - 2005-11-29_004922_tv.zip



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: qinzhw
Date Posted: 29 November 2005 at 6:29am
thank you,oleg



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