Print Page | Close Window

11.2 Bug with Resizable Gallery Control's

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=8135
Printed Date: 13 November 2025 at 7:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: 11.2 Bug with Resizable Gallery Control's
Posted By: terrym
Subject: 11.2 Bug with Resizable Gallery Control's
Date Posted: 24 September 2007 at 10:07am
11.2 Bug with Resizable Gallery Control's, whereby if the gallery control is stretched to the height of the screen nearly, then it will no longer show the resize bar
 
Very strange bug, and checked on Word 2007 and it is fine on there, below shows the image correct:
 
 
and the below shot shows that if I resize the drag bar to the bottom of the screen, the resizer vanishes :(
 
 
Any chance of a fix for this before 11.2.1 ???
 
Thanks


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



Replies:
Posted By: znakeeye
Date Posted: 24 September 2007 at 2:16pm
Terrym, you're my favorite! I used to be the most active bug tracker, but you own me now =)


Posted By: terrym
Date Posted: 24 September 2007 at 2:21pm
lol, try my best
 
just hoping Oleg isn't cursing me for this :)
 


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: terrym
Date Posted: 26 September 2007 at 5:10pm
any ideas Oleg if this will be fixed for 11.2.1 and is a temp fix available as causing issues with our testers/users


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey


Posted By: Oleg
Date Posted: 27 September 2007 at 1:17am
Hi,
 
Yes it fixed. Thanks, Terry.
 
Here diff of XTPPopupBar.cpp:
 
668 668     CSize szTearOffGripper(0);
669 669     if (m_bTearOffPopup)
670 670     {
671 671         szTearOffGripper = GetPaintManager()->DrawTearOffGripper(NULL, 0, FALSE, FALSE);
672 672         rcBorders.top += szTearOffGripper.cy;
673 673     }
  674     if (m_bResizable)
  675     {
  676         rcBorders.bottom += m_rcResizeGripper.Height();
  677     }
674 678  
675 679     CXTPControl* pButtonExpand = m_pControls->FindControl(XTP_ID_POPUPBAR_EXPAND);
676 680     CSize szButtonExpand(0);
677 681  
678 682     if (m_bCollapsed)
679 683     {
 
790 794     if (m_bCollapsed)
791 795     {
792 796         pButtonExpand->SetHideFlags(xtpNoHide);
793 797         pButtonExpand->SetRect(CRect(rcBorders.left, sz.cy - rcBorders.bottom, sz.cx - rcBorders.right, sz.cy - rcBorders.bottom +  szButtonExpand.cy));
794 798     }
795 799     m_rcTearOffGripper.SetRect(rcBorders.left, rcBorders.top - szTearOffGripper.cy, sz.cx - rcBorders.right, rcBorders.top);
  800     if (m_bResizable) m_rcResizeGripper.SetRect(rcBorders.left, sz.cy - rcBorders.bottom, sz.cx - rcBorders.right, sz.cy - rcBorders.bottom + m_rcResizeGripper.Height());
796 801  
797 802     if (bInvalidate) Redraw();
798 803 }
799 804  
800 805 void CXTPCommandBar::UpdateShortcuts()
801 806 {


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


Posted By: terrym
Date Posted: 27 September 2007 at 8:14am
cheers, works better, but still a problem:
 
1. move window to top of display
2. drop font selector in Ribbon SDI sample
3. resize to full height of screen
4. move window down display
5. click popup button for font selector
6. now try resizing, the HitTest is not correct as it must be using old values for position of resize bar
 
;) you can always rely on me


-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



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