• 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
Re: Contextual menu click in window title
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Contextual menu click in window title (From: Mark Alldritt <email@hidden>)

  • Prev by Date: RE: Tracking Rect problem.
  • Next by Date: Scrolling notification
  • Previous by thread: Contextual menu click in window title
  • Next by thread: Re: Contextual menu click in window title
  • Index(es):
    • Date
    • Thread