![]() |
I want to fix pane tab order |
Post Reply
|
| Author | |
aquaxys
Groupie
Joined: 19 December 2022 Location: Seoul Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Topic: I want to fix pane tab orderPosted: 08 January 2024 at 4:05am |
|
I use cxtpdockingpane on the left in my program
there is pane tab ex>'a', 'b', 'c' I got the report that 1. click the 'a' tab and showing(attach) the dockingpane 2. PINNING dockingpane 3. UNPINNING dockingpane 4. pane tab order is changed to 'b','c','a' ('a' move to the bottom) I try to get to solution in sample files in codejock but sample files is same to move to the bottom How can I fix the pane tab order or rearrange it |
|
![]() |
|
aquaxys
Groupie
Joined: 19 December 2022 Location: Seoul Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 January 2024 at 2:16am |
|
a. hide pane 1 b. dockpane is appeared c. pin dockpane d. unpin dockpane e. tab is added at the bottom 2 f. want to get it back to where it was |
|
![]() |
|
agontarenko
Moderator Group
Joined: 25 March 2016 Status: Offline Points: 332 |
Post Options
Thanks(1)
Quote Reply
Posted: 23 January 2024 at 4:56am |
|
Hello,
Can I reproduce this problem with our sample? Regards, Artem Gontarenko |
|
![]() |
|
agontarenko
Moderator Group
Joined: 25 March 2016 Status: Offline Points: 332 |
Post Options
Thanks(1)
Quote Reply
Posted: 29 January 2024 at 7:29am |
|
Hello,
I have reproduced described behavior. After Panel1 pin and unpin this panel moved to down. Please test dock panes of MS Visual studio they works same. This is by design. Regards, Artem Gontarenko |
|
![]() |
|
agontarenko
Moderator Group
Joined: 25 March 2016 Status: Offline Points: 332 |
Post Options
Thanks(1)
Quote Reply
Posted: 29 January 2024 at 7:29am |
|
|
![]() |
|
aquaxys
Groupie
Joined: 19 December 2022 Location: Seoul Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 February 2024 at 9:45pm |
|
I apologize for the late response.
Actually, I waited for more than a week because the post was pending more than week. I gave up because it wasn't approved. The thing is I want to change or fix tab order manually nevetheless is is DESIGN. Is there a way to resolve it? I reviewed CXTPTabManager, CXTPDockingPaneTabbedContainer. But I can not figure it out.
|
|
![]() |
|
aquaxys
Groupie
Joined: 19 December 2022 Location: Seoul Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 February 2024 at 10:13pm |
|
my final code is like as below LRESULT myclass::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam) { ... else if(wParam == XTP_DPN_ACTION ) { XTP_DOCKINGPANE_ACTION* pAction = (XTP_DOCKINGPANE_ACTION*)lParam; CXTPDockingPane* pPane = pAction->pPane; if(pAction->action == xtpPaneActionUnpinned) { XTPTabPosition tpa = pPane->GetDockingPaneManager()->GetPaintManager()->GetTabPaintManager()->GetPosition(); tpa result is xtpTabPositionBottom (=2) so I change it to the top pPane->GetDockingPaneManager()->GetPaintManager()->GetTabPaintManager()->SetPosition(xtpTabPositionTop); XTPTabPosition tpb = pPane->GetDockingPaneManager()->GetPaintManager()->GetTabPaintManager()->GetPosition(); tpb result is xtpTabPositionTop (=0) but tab is still at the bottom
|
|
![]() |
|
aquaxys
Groupie
Joined: 19 December 2022 Location: Seoul Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 February 2024 at 10:18pm |
|
For your information, my dockpane tab is located on the left from top to bottom. <- unpin dockingpain from 1tab 1tab |------------|-| 2tab | | 3tab |--------------| 2tab 3tab 1tab |
|
![]() |
|
aquaxys
Groupie
Joined: 19 December 2022 Location: Seoul Status: Offline Points: 13 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 February 2024 at 10:21pm |
|
I replied first like as below and it is still pending
but I found that following replies posted without pending so I rewrite this reply
I apologize for the late response. Actually, I waited for more than a week because the post was pending more than week. I gave up because it wasn't approved. The thing is I want to change or fix tab order manually nevetheless is is DESIGN. Is there a way to resolve it? I reviewed CXTPTabManager, CXTPDockingPaneTabbedContainer. But I can not figure it out.
|
|
![]() |
|
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 |