Print Page | Close Window

Docking pane works (znakeeye was drunk)

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=15497
Printed Date: 11 May 2024 at 8:20pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking pane works (znakeeye was drunk)
Posted By: znakeeye
Subject: Docking pane works (znakeeye was drunk)
Date Posted: 29 October 2009 at 5:41pm
pPane->SetMaxTrackSize(CSize(250, 0));
 
Later when I dock this pane, its height becomes 0 pixels - and cannot be resized vertically!
Definitely not good since I have to limit its width!
 
ZERO should mean "unlimited", like it did in previous releases :(
 
 
Not sure what you changed, but it certainly is a disaster bug.
Just tried your PaneSample. "Pane5" suffers from the same problem, right after startup (linking statically)!
Even in floating mode, it's impossible to resize it!
 
 
Impossible to resize Pane 5...
 
 
Blablabla... it works. Period.
Oleg is right! :D



Replies:
Posted By: Oleg
Date Posted: 30 October 2009 at 8:37am
Hi,
 
0 was never unlimited for SetMaxTrackSize.
32000 or more was unlimited.


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


Posted By: znakeeye
Date Posted: 30 October 2009 at 12:20pm
Yeah, but if you look at your sample, there is no SetMaxTrackSize call for Pane5.
 
Hence, the height is limited to 0 pixels from start. Right or wrong?


-------------
PokerMemento - http://www.pokermemento.com/


Posted By: Oleg
Date Posted: 02 November 2009 at 7:58am
Hi,
 
Here what we have in constructor of CXTPDockingPane
 
 m_ptMinTrackSize = CPoint(0, 0);
 m_ptMaxTrackSize = CPoint(32000, 32000);
 


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


Posted By: Oleg
Date Posted: 02 November 2009 at 8:00am
Hi,
 
btw, I can't reproduce problem with our sample :( Are you sure you didn't change it ? Try remve registry settings, maybe you chnaged something and didn't restore.


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


Posted By: znakeeye
Date Posted: 03 November 2009 at 4:28am
Can't reproduce it without doing the following:
pwndPane5->SetMaxTrackSize(CSize(200, 0));
 
But if this is correct behavior, then we can close this issue :)


-------------
PokerMemento - http://www.pokermemento.com/


Posted By: Oleg
Date Posted: 03 November 2009 at 7:47am
Hi,
 
just don't use "0" - its not unlimited and never was.


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


Posted By: znakeeye
Date Posted: 17 November 2009 at 12:46pm
Just tried to reproduce this with a clean registry. After some clicking, I managed to get into the state I have described.
 
Please load attached registry settings and see what's wrong! Using PaneSample 13.2.1.


Posted By: Oleg
Date Posted: 18 November 2009 at 7:32am
Hi,
 
So you sure you removed pwndPane5->SetMaxTrackSize(CSize(200, 0)); line ?


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


Posted By: Oleg
Date Posted: 18 November 2009 at 7:35am
Hi,
 
I see your reg file still have it:
"MaxTrackX"=dword:000000c8
"MaxTrackY"=dword:00000000
 
So Don't set it to 0 - it was never default for Unlimited !!!!
Seriously.


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



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