• 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
Catching mouse-clicks outside UI elements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Catching mouse-clicks outside UI elements


  • Subject: Catching mouse-clicks outside UI elements
  • From: Marten van Gelderen <email@hidden>
  • Date: Mon, 1 Dec 2003 13:31:11 +0100

Hallo List,

I have a multi-document based application with a preferences panel. In both types of window I want to react on a mouse click -outside- any UI element. So I made the controller class and the document class delegates of their respective windows and overrode -(void)mouseDown:(NSEvent *)event.

This works fine in the preferences panel, but not in the document windows. It's obvious that I'm doing something wrong (in the document case), but I haven't figured out yet what. Any ideas? Thanks in advance.
--
Groeten, Marten
_______________________________________________
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.
  • Follow-Ups:
    • Re: Catching mouse-clicks outside UI elements
      • From: p3consulting <email@hidden>
  • Prev by Date: Re: reading keys from a plist file
  • Next by Date: RE: MutableArrays losing its contents?
  • Previous by thread: Re: reading keys from a plist file
  • Next by thread: Re: Catching mouse-clicks outside UI elements
  • Index(es):
    • Date
    • Thread