Sticky Frames - non-sticky direction |
Post Reply |
Author | |
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
Posted: 12 January 2007 at 6:18am |
Hello,
I've noticed that floating sticky frames don't have the same behaviour in all 4 directions. When trying to stick a pane to horizontal/vertical sides of mainframe, I get a successful snapping when dragging a pane inwards horizontally, outwards horizontally, and inwards vertically (PaneSample): But I do not get any snapping if I drag the pane outwards vertically: I guess this is not by design and maybe is worth correction. What do you think about this? Thank you, in advance! |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
To say it more precisely:
Panes' top doesn't stick to mainframe's top AND Panes' bottom doesn't stick to mainframe's bottom. |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Just found it. I guess these extra conditions are missing from
void CXTPDockingPaneContext::UpdateStickyFrame(CRect& rectDragFrame, CWnd* pHost) : if (abs(rectDragFrame.bottom - rcWork.bottom) < nGap) { rectDragFrame.OffsetRect(0, rcWork.bottom - rectDragFrame.bottom); } if (abs(rectDragFrame.top - rcWork.top) < nGap) { rectDragFrame.OffsetRect(0, rcWork.top - rectDragFrame.top); } Could it be fixed in the next maintenance release, please? |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
I'm somewhat sad to see that this bug has neither been removed in 10.4.1, released Jan 19th, 2007. [post edited]
|
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Back to the future? |
|
Codejock support
|
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Yeah, sorry. I meant January. Anyway, maintaining our software versions I sometimes feel just like in a time machine...
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Thanks, These suggested lines will be added for next release.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Thank you. Indeed, this has been fixed in v10.4.2, very quickly.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |