Print Page | Close Window

[Closed] How - oh How?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=4714
Printed Date: 12 December 2024 at 7:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [Closed] How - oh How?
Posted By: Simon HB9DRV
Subject: [Closed] How - oh How?
Date Posted: 03 August 2006 at 6:53am
I have many panes in my MDI application, 6 of which are instances the same dialog.

My wish: how do only allow these 6 identical dialogs to be docked inside of each other, not inside the CMainFrame, not inside other dialogs?

What I want is the appearance of all 6 docked together, floating around and not dockable inside anything else. Appearance is one dialog but with 6 tabs allowing the user to select the desired instance.

(I hope you understand this.)

Next - how do I stop a floating pane from being resizable? I guess this is in the docs, I expect I'll see this later today.


-------------
Simon HB9DRV



Replies:
Posted By: Oleg
Date Posted: 03 August 2006 at 7:41am
Hi, catch actions event and xtpPaneActionDetaching and cancel it.  See PaneActions sample.

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


Posted By: Simon HB9DRV
Date Posted: 03 August 2006 at 8:13am
Originally posted by oleg oleg wrote:

Hi, catch actions event and xtpPaneActionDetaching and cancel it.  See PaneActions sample.

Thanks, will do.

With luck I'll have this programmed up later today / tomorrow, no doubt I'll be back :-)


-------------
Simon HB9DRV


Posted By: Simon HB9DRV
Date Posted: 03 August 2006 at 12:01pm
Hi Oleg,

If I try to dock a pane, how do I find out where the user is trying to dock? For example, I have a dialog attached to pane IDR_PANE_1 and I want to know if the user is trying to dock this dialog into the pane IDR_PANE_2.

I only want the user to be able to dock inside specific panes. I have the ID of the pane being docked pAction->pPane->GetID() but not the target pane.


-------------
Simon HB9DRV


Posted By: Simon HB9DRV
Date Posted: 03 August 2006 at 12:21pm
Oleg,

I have abonded my idea here - please don't reply :=)


-------------
Simon HB9DRV



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