Print Page | Close Window

How I add FormView in a CXTTabCtrl without border

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=7587
Printed Date: 30 January 2025 at 11:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How I add FormView in a CXTTabCtrl without border
Posted By: Andre.Rios
Subject: How I add FormView in a CXTTabCtrl without border
Date Posted: 12 July 2007 at 11:09am
Hello Everybody,
 
I have a little problem :
 
I'd like to add a formview in a CXTTabCtrl without the Frame border :
 
 
Second probs : i'd like the background with XP style as the same of the empty ctrl.
 
I add the tab with this code :
 
m_tabCtrl.AddView(_T("General"), RUNTIME_CLASS(MyFormView), NULL, NULL, 0, 0);
 
Somebody can help me with this case ?
 
Thx
 
André Rios



Replies:
Posted By: Oleg
Date Posted: 13 July 2007 at 5:33am
Hi,
 
try remove border in OnInitialUpdate:
 
ModifyStyleEx(WS_EX_CLIENTERGE, 0);


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


Posted By: Andre.Rios
Date Posted: 13 July 2007 at 11:06am
Hi,
 
Thanks for the tip, but it not change anything, the border don't disapear...
 
André Rios


Posted By: Oleg
Date Posted: 16 July 2007 at 1:41am
Hello,
Send sample to mailto:support@codejock.com - support@codejock.com .


-------------
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