Print Page | Close Window

A question about DockingPanes

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=1640
Printed Date: 18 May 2024 at 2:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: A question about DockingPanes
Posted By: zhou_wz
Subject: A question about DockingPanes
Date Posted: 09 January 2005 at 7:08pm

 

I want to fix the dockingPanes' action:
 1.user can not change pane order in a group
 2.when user click on pane's caption title, all panes in a group will float in the group like before
I find DockingPane's default actions are not my choice!
So I try this
 1.create a dockmanager
 2.create a pane belonging the dockmanager
 3.create a tabctrl (an instance of CXTPTabCtrl)
 4.create an edit(a child window in tabctrl)
 5.add the edit ctrl to tabctrl(by using InsertItem(...))
 6.attach the tabctrl to dockingpane(by using pPane->Attach(...) in DockingPaneNotify(...))

I thought it would work, but actually the dockingmanager didn't, just like no pane in it!
How can I solve this problem?
Can DockingPane do it easily using some configuration?
Why my solution doesn't work?




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