Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPTabControl & CXTPTabClientWnd
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPTabControl & CXTPTabClientWnd

 Post Reply Post Reply
Author
Message
JackyChen View Drop Down
Newbie
Newbie
Avatar

Joined: 31 October 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote JackyChen Quote  Post ReplyReply Direct Link To This Post Topic: CXTPTabControl & CXTPTabClientWnd
    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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.045 seconds.