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

XTPTabClientWnd & Show Tab item

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


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Topic: XTPTabClientWnd & Show Tab item
    Posted: 28 July 2004 at 8:35am
Hello,

After append many view on a CXTPTabClientWnd, only a small part of the last TabItem is visible.
Only after click scroll right the complete item is visible ?

  Jimmy

Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2004 at 2:02am

If i add new View, TabClientWnd will autom. add a TabItem, but only a part is on creation visible ?
Solution to show the complete TabItem ?

  Jimmy
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 22 October 2004 at 10:44am
You can try to change the Tab Layout - XTPTabLayoutStyle.  Take a look at the Tab Manager sample.

enum XTPTabLayoutStyle
{
    xtpTabLayoutAutoSize,
    xtpTabLayoutSizeToFit,
    xtpTabLayoutFixed,
    xtpTabLayoutCompressed,
};
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 25 October 2004 at 3:21am
Hello,

some problem was, that at time of creation, the window has no name.
So the TabWidth is small. After a short time (or some messages later the name is set).
And the TabWidth is resize but not Reposition.
Now we set at creationtime the windowname to many space.
It work, but it is not beautiful.

Is this a bug ?
After change name, resize(ok) & reposition.

greetings
    Jimmy
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Posted: 25 October 2004 at 3:23am
Also draw a simple vertical borderline between tab & Left/right arrow.

    Jimmy
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.188 seconds.