Multiplying Tracking Rectangle
Multiplying Tracking Rectangle
- Subject: Multiplying Tracking Rectangle
- From: Stefan Schüßler <email@hidden>
- Date: Mon, 13 Jun 2005 17:18:43 +0200
I have a window with a custom view and a tracking rectangle attached
to it. The tracking rectangle is added within the view's
viewDidMoveToWindow method and it works fine at first.
However, every time I call [theWindow orderOut:...] and [theWindow
orderFront:...] I receive another mouseEntered/mouseExited event.
For example: after the window has been "ordered out" ten times I get
ten mouseEntered events when moving the mouse pointer into the view.
The events have the same tracking number and event number
respectively. However, the events have different addresses in memory.
Of course "addTrackingRect" is called only once. (Otherwise I would
get different tracking numbers)
I'm running Mac OS X 10.4.1.
Any ideas?
Stefan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden