Print Page | Close Window

BUG: Floating pane can be too small

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=15538
Printed Date: 16 May 2024 at 3:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG: Floating pane can be too small
Posted By: znakeeye
Subject: BUG: Floating pane can be too small
Date Posted: 03 November 2009 at 4:21am

13.2.1

Try resizing a floating pane. It makes no sense to let the buttons disappear like this. Obviously, it should stop when the width equals the button range + some pixels, just like Visual Studio!
 
 
("Pane5" from PaneSample)


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



Replies:
Posted By: Oleg
Date Posted: 03 November 2009 at 7:50am
Hi,
 
Thanks, agree this one :) btw if you want it like in Visual Studio just don't set SetThemedFloatingFrames option.


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


Posted By: znakeeye
Date Posted: 03 November 2009 at 9:06am
I want the themes :(

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


Posted By: Oleg
Date Posted: 04 November 2009 at 7:08am
Here simple fix we added
 
void CXTPDockingPaneMiniWnd::OnGetMinMaxInfo(MINMAXINFO* lpMMI)
{
 CMiniFrameWnd::OnGetMinMaxInfo(lpMMI);
 if (IsThemed())
 {
  lpMMI->ptMinTrackSize.x = 46;
 }
 GetMinMaxInfo(lpMMI);
}
 
you can add same and rebuild toolkit.


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


Posted By: znakeeye
Date Posted: 04 November 2009 at 7:55am
Hmm... what if you add additional buttons yourself? I think that code should be dynamic!

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



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