Print Page | Close Window

Docking pane question

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4298
Printed Date: 10 November 2025 at 3:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking pane question
Posted By: yoavo
Subject: Docking pane question
Date Posted: 28 May 2006 at 9:29am

Hi,

I have an SDI application with 3 panes (which I create by using CXTPDockingPaneManager::CreatePane). Two of the panes are docked to the left (one is on top of the other), and the 3rd is docked to the right.

I need that the view will not be seen at all (the panes should cover all the client area). In other words, I need the panes 1/2 and pane 3 will have a common vertical splitter.

How do I do it ?

Yoav.




Replies:
Posted By: hpesata
Date Posted: 31 May 2006 at 4:32am
Hi!

did you try CXTPDockingPaneManager->HideClient(TRUE) method ?

regards,
Hans



Posted By: yoavo
Date Posted: 31 May 2006 at 6:31am

Hi,

I tried your suggestion (call HideClient). Now the panes and splitters behaves exactelly as I want, but the problem is that their content (the dialogs that in each pane) are gone, and I see only grey in each pane.



Posted By: hpesata
Date Posted: 31 May 2006 at 8:12am
Hi!

looks like this is another problem, do you attach your windows/dialogs to your panes within the appropriate XTP_DPN_SHOWWINDOW handler ?

regards,
Hans



Posted By: yoavo
Date Posted: 31 May 2006 at 9:20am

yes, I attach my dialogs to the panes in XTP_DPN_SHOWWINDOW handler.



Posted By: Oleg
Date Posted: 31 May 2006 at 9:27am

Hi, send project to issuetrack/here. May be forgot some obvious things like WS_CHILD style for dialog etc...



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: yoavo
Date Posted: 04 June 2006 at 3:19am

Sorry, my bad...

I called HideClient method after creating the panes. If I call it before creating the panes, it works great !!




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