Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » flexibelize RectTracker, only works TopLeft -> BottomRight
flexibelize RectTracker, only works TopLeft -> BottomRight [message #37477] Wed, 10 October 2012 21:23 Go to next message
kohait00 is currently offline  kohait00
Messages: 934
Registered: July 2009
Location: Germany
Experienced Contributor
RectTracker should be able to track the Rect in any direction, after all a Rect can be Normalize()ed at the end.

Could this be possible?
i couldnt figure out how to fix it quickly.
cheers and thanks all
Re: flexibelize RectTracker, only works TopLeft -> BottomRight [message #37490 is a reply to message #37477] Wed, 10 October 2012 23:56 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 486
Registered: November 2008
Location: France
Senior Member
I currently use RectTracker and it works perfectly in any direction

The code I use is the following (GraphCtrl L330):
// SELECT ZOOM
RectTracker tracker(*this);
Rect selectedZoomArea = tracker.Track( RectfC(p.x,p.y,0,0), ALIGN_NULL, ALIGN_NULL);


[Updated on: Wed, 10 October 2012 23:57]

Report message to a moderator

Re: flexibelize RectTracker, only works TopLeft -> BottomRight [message #37498 is a reply to message #37490] Thu, 11 October 2012 15:03 Go to previous messageGo to next message
kohait00 is currently offline  kohait00
Messages: 934
Registered: July 2009
Location: Germany
Experienced Contributor
i apologize oficially for placing such a dumb question Smile
thanks

[Updated on: Thu, 11 October 2012 15:04]

Report message to a moderator

Re: flexibelize RectTracker, only works TopLeft -> BottomRight [message #37502 is a reply to message #37498] Thu, 11 October 2012 21:00 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 486
Registered: November 2008
Location: France
Senior Member
Everyone sends a glorious post from time to time, even the best Laughing
Re: flexibelize RectTracker, only works TopLeft -> BottomRight [message #37522 is a reply to message #37502] Sun, 14 October 2012 15:23 Go to previous message
koldo is currently offline  koldo
Messages: 2988
Registered: August 2008
Veteran
Laughing me too.

Best regards
IƱaki
Previous Topic: A hidden docked ctrl steals focus
Next Topic: EditControl with AllCaps, OnlyNums, and ErrorMsg dialog
Goto Forum:
  


Current Time: Wed Sep 18 15:24:34 CEST 2019

Total time taken to generate the page: 0.01871 seconds