• 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
Getting Mouse Moved Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting Mouse Moved Events


  • Subject: Getting Mouse Moved Events
  • From: Michael Latta <email@hidden>
  • Date: Fri, 27 Dec 2002 13:33:21 -0800

I have a document based application that wants to receive mouse moved events for one of the views in the main document window.

I have tried using [aWindow setAcceptsMouseMovedEvents: YES] in about all the places I can think of.

Setting this in awakeFromNib seems to set it, then later when trying to set it again in viewDidMoveToWindow it is unset and will not take being set (as verified by a getAcceptsMouseMovedEvents immediately following. On other cases it claims to be set in all cases, but still delivers no events.

Is the default window controller fighting me on this?

Any suggestions welcome. In the old DPS days this was the window event mask that could be set easily to deal with this type of thing.

Michael Latta
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: PB File Template Tokens
  • Next by Date: Re: Questions about retain
  • Previous by thread: Re: PB File Template Tokens
  • Next by thread: Re: Getting Mouse Moved Events
  • Index(es):
    • Date
    • Thread