Print Page | Close Window

CXTPTabControl & CXTPTabClientWnd

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


Topic: CXTPTabControl & CXTPTabClientWnd
Posted By: JackyChen
Subject: CXTPTabControl & CXTPTabClientWnd
Date Posted: 31 October 2005 at 9:54am

Hi, I am a new user. I find Xtreme Toolkit pro is a wouderful library for developers. But I need more guidence beyond the help file.

My application is a SDI with Tabbed appearance. And I want to add a docking pane together with a formview into a certain tab page. Also I want to add html view to other tab page.

I looked in the TabbedView and GUI_VisualStudio7 sample. I am wandering which class is fit for my application.

And is it possible to add a framewnd into a tab page? Please help me.

Thanks,



-------------
Jacky



Replies:
Posted By: Oleg
Date Posted: 04 November 2005 at 12:17am

It is possible.. why not..

Create new Frame and add it as tab.

 

CCreateContext contextT;

contextT.m_pNewViewClass = pViewClass;

CFrameWnd* pFrame = new CFrameWnd;

 pFrame->Create(NULL, NULL, WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS,
  CRect(0, 0, 0, 0), pParentWnd, NULL, 0, &contextT);

 pFrame->ModifyStyleEx(WS_EX_CLIENTEDGE, 0);



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



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