• 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: NSBorderless and acceptsFirstMouse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBorderless and acceptsFirstMouse


  • Subject: Re: NSBorderless and acceptsFirstMouse
  • From: Glenn Andreas <email@hidden>
  • Date: Mon, 2 Aug 2004 13:12:51 -0500

At 1:39 PM -0400 8/2/04, Dominic Feira wrote:
Hello.

I have an NSBorderless window that I am using to create an irregular shaped window.
All is well, except I can't figure out how to get the window to respond to the first click in the window.

I would like to be able to drag this window just like any other window. Right now I must click in it to make it active and then drag it. What a pain.

Have you tried setMovableByWindowBackground: ?

You might also want to look into making it an NSPanel instead of just an NSWindow if you are looking for "always active" behavior.

--
Glenn Andreas email@hidden mondo blobbo, Cythera, Theldrow, oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
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: NSBorderless and acceptsFirstMouse
      • From: Stephan Burlot <email@hidden>
References: 
 >NSBorderless and acceptsFirstMouse (From: Dominic Feira <email@hidden>)

  • Prev by Date: Re: Custom Field Editors
  • Next by Date: Re: drawInRect:withAttributes: Attributes ?
  • Previous by thread: NSBorderless and acceptsFirstMouse
  • Next by thread: Re: NSBorderless and acceptsFirstMouse
  • Index(es):
    • Date
    • Thread