![]() |
Alpha window not placed correctly! |
Post Reply
|
| Author | |
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Topic: Alpha window not placed correctly!Posted: 22 May 2008 at 10:38am |
|
XTP 12.0, ribbon MDI.
I detach my pane, and then re-attach it. I can then see this to the left. What could be causing this? I don't see it in your samples.
![]() I do call SetMinTrackSize(CSize(200, 200)) and SetMinTrackSize(CSize(600, 400)). Also, when I attach the pane it gets the correct size - 1,5 cm wider than the alpha window... |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 May 2008 at 11:04am |
|
Hi,
So you see Alpha window after you drop pane ? :-[ ]
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 May 2008 at 2:06pm |
|
No, I see it just before I drop/attach it. But the window is, as shown above, too narrow!
It's like XTP thinks the final pane width would be 200 px, when it should be 210 px...
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 May 2008 at 3:11pm |
|
Hi, Need to know your exactly layout to find reason. Maybe you can serialize it to xml and assign ? think HideClient is reason.. :( try temporary comment and check it. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 May 2008 at 10:39am |
|
HideClient is the reason. How do I solve it?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 May 2008 at 3:10pm |
|
Hi,
Please add lines
CXTPDockingPaneLayout l(&m_paneManager);
m_paneManager.GetLayout(&l); l.SaveToFile(_T("C:\\Layout.xml"), "Layout"); and attach c:\Layout to check what do you have.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 May 2008 at 7:58pm |
|
<? xml version="1.0" encoding="UTF-8"?>< DockingPaneLayouts CompactMode="1">< Layout>< Summary Panes="8" TopContainer="4" Client="7"/>< Pane-1 Type="0" DockingCX="240" Title="Left" ID="202" Options="36" DockingHolder="5" LastHolder="5" MinTrackX="240" MaxTrackX="240" MaxTrackY="0"/>< Pane-2 Type="0" DockingCX="800" Title="Main" ID="314" Options="38" DockingHolder="6" LastHolder="6"/>< Pane-3 Type="0" DockingCX="800" DockingCY="600" Title="Problematic pane" ID="313" Options="2" DockingHolder="8" LastHolder="8" MinTrackX="320" MinTrackY="240"/>< Pane-4 Type="2" Horiz="1" Panes="4" Pane-1="5" Pane-2="6" Pane-3="7" Pane-4="8"/>< Pane-5 Type="1" DockingCX="240" Panes="1" Selected="1" Pane-1="1"/>< Pane-6 Type="1" DockingCX="800" Panes="1" Selected="2" Pane-1="2"/>< Pane-7 Type="4"/>< Pane-8 Type="1" DockingCX="800" DockingCY="600" Panes="1" Selected="3" Pane-1="3"/></ Layout></ DockingPaneLayouts> |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 May 2008 at 1:11am |
|
Hi,
It works for me :-(
I loaded this layout, and added
m_paneManager.HideClient(TRUE);
m_paneManager.SetAlphaDockingContext(TRUE); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |