Child Windows and Mouse Events
Child Windows and Mouse Events
- Subject: Child Windows and Mouse Events
- From: Greg <email@hidden>
- Date: Tue, 15 Feb 2005 09:41:32 +1000
Hi,
I have a child window that displays an image on it. In the image view
subclass I overide mouseDown to close the window when the mouse is
clicked inside the windows bounds, but I am having trouble trying to
listen for mouse clicks outside the window. I have tried the delegate
methods windowDidResignMain: and windowDidResignKey: but have had no
luck.
Basically what I am after would be what NSComboBox does while the table
view is showing and you click anywhere except in the table view and it
closes the window.
Any help is greatly appreciated.
Greg
_______________________________________________
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