When is the "isFlipped" method called?
When is the "isFlipped" method called?
- Subject: When is the "isFlipped" method called?
- From: Ken Tozier <email@hidden>
- Date: Sat, 3 Feb 2007 03:01:52 -0500
Hi
I have a custom NSView basically working but I'm getting this one
orphaned tracking rect that's appearing in the exact location where
one of the custom view's subviews would appear if the coordinates
were not flipped. A second tracking rect for this item appears in the
correct spot.
The tracking rect is first created in the subview's
"viewDidMoveToWindow" method and subsequent tracking rect
repositioning is handled in the two methods "setFrame" and
"setBounds." The first line in each of the three methods is [self
removeTrackingRect: trackingRectTag] but somehow, somewhere a frame
move is occurring without setFrame or setBounds getting called.
The only thing I can think of is that during initialization, items
are drawn in their unflipped locations and moved to their final
destinations. Does anyone know if that's the case? Or is there some
other scenario where a view could move without "setFrame" or
"setBounds" ever getting called.
TIA
ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden