Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Resizing tabs in Tabbed Control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Resizing tabs in Tabbed Control

 Post Reply Post Reply
Author
Message
csunita View Drop Down
Groupie
Groupie


Joined: 14 July 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote csunita Quote  Post ReplyReply Direct Link To This Post Topic: Resizing tabs in Tabbed Control
    Posted: 18 September 2008 at 12:30pm
I have a tabbed control derived from CXTResizeDialog. The tabs are derived from CFormView. They are of different sizes.
When the tab control comes up, every time the user changes tabs, I want the tab to be displayed in its original size.
Right now, all the tabs are displayed in a rectangle that is larger than the size of the largest tab along with some padding!
 
Thanks.
Back to Top
aznodak View Drop Down
Newbie
Newbie


Joined: 26 July 2005
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote aznodak Quote  Post ReplyReply Direct Link To This Post Posted: 18 December 2008 at 11:20am

I have a similar problem, I have several CXTResizeFormView derived views added to a CXTTabCtrl tab control. The formviews come up fine. The tab control is part of a formview itself. The tab control resizes with the parent form view, but the child form views of the tab control do not resize. The tab control seems to be sized to the largest child view added. I want the active child view of the tab control to resize to fit the parent tabl control. I have not found an codejock example or forum references that has helped me identify why the child form views are not resizing. Besides deriving from the proper *Resize* control and setting up SetResize in the OnInitUpdate for each form view, I don't know what I'm missing. I know this is not enought to debug anything, so all I'm looking for at this point is suggesting other codejock resizing related function calls that might be applicable. I'm hope to get some code snippets later on.

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.047 seconds.