Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - xtpWorkspaceShowCloseTab does not work any more
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

xtpWorkspaceShowCloseTab does not work any more

 Post Reply Post Reply
Author
Message
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Topic: xtpWorkspaceShowCloseTab does not work any more
    Posted: 06 February 2017 at 9:40am
Hi Codejock team!
Since we changed to XTP 17.3 this option doesn't work any more.
The 'X' to close a tab should be always visible.

We use xtpWorkspaceShowCloseTab in combination with :
xtpWorkspaceHideArrows | xtpWorkspaceShowActiveFiles

.

You can see the 'x' on the active tab but not on the other tab.
If i highlite the tab (mouse over), the 'x' is also visible on "Kontakte".
Do i have to change the color in my theme-INI? If yes, which color is it?

Please help!
Back to Top
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 235
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2017 at 7:09am
I think it depends on the theme: 

Office 2007, Office 2010, Windows 7: check boxes always visible
Office 2013, Visual Studio 2015: check boxes not visible on inactive tabs (visible on hoover)

Using flags: xtpWorkspaceHideClose | xtpWorkspaceShowCloseTab | xtpWorkspaceHideArrows | xtpWorkspaceShowActiveFiles

Windows 10, Visual Studio 20157, Toolkit Pro 18.3.0
Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 08 February 2017 at 5:10am
Thank you Fredrik!
But it seems that the place for the X is reserverd.
I can see it if a give the tab a custom color -> the the space for the X stays white.
So this is a bug for me :-)
Back to Top
BeeJay View Drop Down
Groupie
Groupie
Avatar

Joined: 12 March 2013
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote BeeJay Quote  Post ReplyReply Direct Link To This Post Posted: 10 April 2017 at 11:25am
any news on this?
Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2017 at 4:25am

Still no solution!


Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2017 at 5:30am
Finally found a solution by overwriting virtual void FillNavigateButton(CDC *pDC, CXTPTabManagerNavigateButton *pButton, CRect &rc)
in my custom Colorset based on CXTPTabColorSetOffice2013

   
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.