[Closed] How - oh How? |
Post Reply |
Author | |
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
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
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, catch actions event and xtpPaneActionDetaching and cancel it. See PaneActions sample.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
Thanks, will do. With luck I'll have this programmed up later today / tomorrow, no doubt I'll be back :-) |
|
Simon HB9DRV
|
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
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
|
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
Oleg,
I have abonded my idea here - please don't reply :=) |
|
Simon HB9DRV
|
|
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 |