Catching mouse-clicks outside UI elements
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.