Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - 11.2 Bug with Resizable Gallery Control's
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

11.2 Bug with Resizable Gallery Control's

 Post Reply Post Reply
Author
Message
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Topic: 11.2 Bug with Resizable Gallery Control's
    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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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 =)
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 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
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post 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
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.063 seconds.