Print Page | Close Window

How to use Tear Off Tab Clients

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=24218
Printed Date: 18 April 2024 at 4:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to use Tear Off Tab Clients
Posted By: cpede
Subject: How to use Tear Off Tab Clients
Date Posted: 04 October 2021 at 9:24am
First of all, great that this feature finally came to CodeJock.

Next is how to use it. Which methods do I need to call, and which do I need to implement?
* I can see that I probably need to call EnableTearOff on the CXTPTabClientWnd ?
* Do I also need to call SetTabClient on the CXTPDockingPaneManager ?
* What about ShowWorkspace on the CXTPTabClientWnd ?
* I have MDI look where I can minimize and maximize the tab client windows, how do I remove that, since I think that the tabbed windows need to always be maximized in the client, right ?

I can see in the GUI_VisualStudio sample that I can move the clients into docking windows, great. What about the other way around, making a docking window into a client window, or in the client frame ?

And finally there is a bug in the GUI_VisualStudio sample. when I drag the child into the docking frame, the size is wrong (too wide). And when clicking on the caption, another ghost window is created and when clicking it crashes. See video: 
https://dantecdynamics-my.sharepoint.com/:v:/p/cpn/Efnxe67U9JRNpaZMJ8-Csq8BN5-Tv0UJVFKCXAOEvJpsmQ?e=QbsKAc" rel="nofollow - https://dantecdynamics-my.sharepoint.com/:v:/p/cpn/Efnxe67U9JRNpaZMJ8-Csq8BN5-Tv0UJVFKCXAOEvJpsmQ?e=QbsKAc

-cpede


-------------
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Replies:
Posted By: cpede
Date Posted: 05 October 2021 at 1:03pm
In the MDITab sample there are no stickers drawn?

And I see a bunch of code for docking, undocking, tearing of etc. in the Mainframe.cpp code.

Does this mean that we all have to write all this codeinto our own program to make MDI Tab tear-off working? 


-------------
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)


Posted By: cpede
Date Posted: 12 May 2022 at 8:34am
I find this feature super nice, but it is impossible to implement.

Looking at the sample and transferring this to my own application is very difficult. Anyone having success with this? It would be nice to have a list of members to implement and the purpose of them. Please make a guide with the required steps going from a standard tab layout to add the tear-off feature.





-------------
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net