No caption when the pane docks |
Post Reply |
Author | |
DPDP
Newbie Joined: 25 August 2005 Status: Offline Points: 14 |
Post Options
Thanks(0)
Posted: 20 September 2005 at 3:16pm |
Do anyone know how to make a pane without caption when the pane is docked? I mean a pane without a caption at all, not hide the caption text since I have many panes and want to save the space when they are docked. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Try m_paneManager.GetPaintManager()->m_bShowCaption = FALSE; |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
DPDP
Newbie Joined: 25 August 2005 Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Thanks, the caption is not shown when I call m_paneManager.GetPaintManager()->m_bShowCaption = FALSE; However, it does not help. I lose the ability to move/float the pane once docked. Do I miss anything here? The previous docking pane tool I have have the function to move/float when it is docked.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
You don't want caption but want to allow docking... How it must look? also try: m_paneManager.GetPaintManager()->m_bDrawSingleTab = TRUE ; to draw single tabs. and may be m_paneManager.GetPaintManager()->GetTabPaintManager()-> ;SetPosition(xtpTabPositionTop); to draw them at top.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
DPDP
Newbie Joined: 25 August 2005 Status: Offline Points: 14 |
Post Options
Thanks(0)
|
The old tool from Stingray enables to move the pane when I press left mouse down in any empty place in the pane and can drag the pane to anywhere. I do not have to drag the caption to move. And I can double click the pane to make it floating. A Word doc file with a image how it looks like is 2005-09-26_131559_DPDP.zip attached.
|
|
DPDP
Newbie Joined: 25 August 2005 Status: Offline Points: 14 |
Post Options
Thanks(0)
|
I tried the following three calls, it is almost achieve my requirements except when I float a pane, it has a caption and a single tab which is unacceptable. Then I try to set m_bDrawSingleTab = FALSE by catching the floating action. Unfortunately this attribute seems to apply all panes globally. When setting it to be false, an existing single docked pane lost the tab, and lost the drag and floating abilities. Any further sugguestion will be much appreciated. 1.m_paneManager.GetPaintManager()->m_bShowCaption = FALSE; or SetOptions(xtpPaneNoCaption) when creating the pane. 2.m_paneManager.GetPaintManager()->m_bDrawSingleTab = TRUE ; 3.m_paneManager.GetPaintManager()->GetTabPaintManager()- >SetPositionxtpTabPositionTop);
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
See little sample: |
|
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 |