Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Handles that are out of bounds (Read 6930 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Handles that are out of bounds
Reply #15 - May 27th, 2010 at 7:04pm
Print Post  
Because UpdateBounds sets a new Bounds value, and that's what the selection frame drawing code uses. If you override container.Draw to show a different rectangle when folded, perhaps you should also override DrawHandles and HitTestHandle to use your rectangle. This will let you avoid setting Bounds each time after folding.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
yrauma
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 61
Joined: Mar 28th, 2010
Re: Handles that are out of bounds
Reply #16 - May 27th, 2010 at 8:03pm
Print Post  
OK ok I get it,

weird bug, It took me a while to figure it out, sorry for that Smiley

and thanks for the help Cheesy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint