Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - How I add FormView in a CXTTabCtrl without border
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How I add FormView in a CXTTabCtrl without border

 Post Reply Post Reply
Author
Message
Andre.Rios View Drop Down
Newbie
Newbie


Joined: 12 July 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andre.Rios Quote  Post ReplyReply Direct Link To This Post Topic: How I add FormView in a CXTTabCtrl without border
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 13 July 2007 at 5:33am
Hi,
 
try remove border in OnInitialUpdate:
 
ModifyStyleEx(WS_EX_CLIENTERGE, 0);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Andre.Rios View Drop Down
Newbie
Newbie


Joined: 12 July 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andre.Rios Quote  Post ReplyReply Direct Link To This Post Posted: 13 July 2007 at 11:06am
Hi,
 
Thanks for the tip, but it not change anything, the border don't disapear...
 
André Rios
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 16 July 2007 at 1:41am
Hello,
Send sample to support@codejock.com.
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.172 seconds.