Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - 'Cascading' Panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

'Cascading' Panes

 Post Reply Post Reply
Author
Message
JerryEvans View Drop Down
Groupie
Groupie
Avatar

Joined: 01 May 2008
Location: United Kingdom
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote JerryEvans Quote  Post ReplyReply Direct Link To This Post Topic: 'Cascading' Panes
    Posted: 13 June 2008 at 9:18pm
There is a demo here (http://www.codejock.com/products/dockingpane/tour_17.asp) which promises some neat stuff. Is there a demo/sample in the XTP MFC package which shows these cascading panes?

Thx

Jerry
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2008 at 5:21am
Hi,
 
Run Pane sample and in menu click Caption Buttons->Maximize/Restore Button
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2010 at 10:57am
Any way to make the pane maximize to fill the current monitor when undocked?
Back to Top
sforces View Drop Down
Groupie
Groupie


Joined: 13 May 2009
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote sforces Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2010 at 7:02pm
Have you looked at the MaxTrackSize property of the Pane object? The help info on it says:
Used to set the maximum size that a Pane can be re-sized to.

And there's an example there, but here's a snippet of that:
'Specifies that Pane B can be no Larger that 130 x 130
    B.MaxTrackSize.SetSize 130, 130

So if you set this value to that of your max monitor resolution, when undock it should be what you want. Be sure to set the MinTrackSize though too or else it won't be resizeable.

Originally posted by markr markr wrote:


Any way to make the pane maximize to fill the current monitor when undocked?
Product: Xtreme Suite Pro (ActiveX) version 16.3.1

Platform: Windows XP SP3 (32bit)

Language: Visual Basic 6.0 SP6
Back to Top
markr View Drop Down
Senior Member
Senior Member


Joined: 01 August 2004
Status: Offline
Points: 443
Post Options Post Options   Thanks (0) Thanks(0)   Quote markr Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2010 at 11:48pm
Sorry, I meant through the maximize button on the docking pane itself.

What I'd really like to see is pane behavior like what's available in VS2010. When a pane is "floated", the pushpin button changes into a min/maximize button. Maximizing the pane causes it to fill the current monitor, and minimizing it restores its previous position.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.