• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
views and mouse events troubles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

views and mouse events troubles


  • Subject: views and mouse events troubles
  • From: Ivan Kourtev <email@hidden>
  • Date: Wed, 25 Oct 2006 14:54:57 -0400

Could someone please help and explain (or point to a document which explains) under what conditions do multiple views get the same mouse event? I have a view containing another and when I click on the contained view both it and the containing view get the mouse event.

Is that normal? Based on all the docs I've read only one view should get the mouse event, or am I wrong to assume so?

I tried many combinations (creating and inserting views into the hierarchy programmatically, or via IB, etc.) and nothing seems to affect things. If I have N number of views under the mouse pointer (contained into each other), then all N of them get the mouse event. All view are non-transparent, and completely draw their background.

Thanks for any help..

-- ivan
_______________________________________________
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


  • Prev by Date: Re: NSTimer question: How to fire at second 00, 05, 10 etc ?
  • Next by Date: Re: string of rich text (rtf) tags to rtfData
  • Previous by thread: Stationary or Template documents
  • Next by thread: Re: views and mouse events troubles
  • Index(es):
    • Date
    • Thread