Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPPropertySheet not supporting stacked tabs?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPPropertySheet not supporting stacked tabs?

 Post Reply Post Reply
Author
Message
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post Topic: CXTPPropertySheet not supporting stacked tabs?
    Posted: 01 April 2011 at 8:13am

Hello,

With upgrade to 15.0.2 I have noticed that CXTPCustomizeSheet is NO longer derived from CPropertySheet. Side effect is that it does not support stacked tabs anymore.

The reason is that CXTPCustomizeSheet is derived now from CXTPPropertySheet that derives straight from CDialog and Codejock forgot to implement stacked tab support in CXTPPropertySheet class. Original MFC class uses stacked tab (multiple rows) by default and it has EnableStackedTabs method. Codejock's CXTPPropertySheet misses that.

Question: how to enable stacked tabs in  CXTPPropertySheet ? (Hint it is not only a question of changing tab control style , but also resizing property dialog, MFC does that automatically, why Codejock can't ?)


Best regards,

Tomasz

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: 05 April 2011 at 4:02am
Hello,

CXTPPropertyPageTabNavigator* pTabControl = (CXTPPropertyPageTabNavigator*)cs.GetNavigator();
pTabControl->SetLayoutStyle(xtpTabLayoutMultiRow);  
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Tomasz View Drop Down
Senior Member
Senior Member


Joined: 05 August 2006
Status: Offline
Points: 109
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tomasz Quote  Post ReplyReply Direct Link To This Post Posted: 05 April 2011 at 4:14am

Great, thanks!

Tomasz

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