Re: Contextual menu click in window title
Re: Contextual menu click in window title
- Subject: Re: Contextual menu click in window title
- From: j o a r <email@hidden>
- Date: Fri, 9 Sep 2005 06:38:42 +0200
On 9 sep 2005, at 05.14, Mark Alldritt wrote:
I have a non-document window and I want to provide a window title
path popup
menu, just as NSWindow does for NSDocument. The problem is that I
cannot
seem to figure out how to get my code called when there is a
mouseDown the
window title.
I've tried subclassing NSWindow, but that does not seem to do it - my
mouseDown:(NSEvent*) method is not being called.
The title bar is not in the contents view of the window, so you're
not supposed to get those events.
Anyone have any ideas?
How about using "-[NSWindow setRepresentedFilename:]"?
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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