How to use Tear Off Tab Clients |
Post Reply |
Author | |
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
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: -cpede |
|
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
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 (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
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 (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |