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

Re: movableByWindowBackground


  • Subject: Re: movableByWindowBackground
  • From: Ken Thomases <email@hidden>
  • Date: Tue, 04 Nov 2014 09:21:08 -0600

On Nov 4, 2014, at 9:04 AM, Torsten Curdt <email@hidden> wrote:

> I have a NSWindow that has movableByWindowBackground set. Now I want to add
> a NSImageView but have the window be draggable also at the area covered by
> the view.
>
> My first though was to override hitTest: - but that didn't seem to work.
>
> Any pointers?

Try overriding -mouseDownCanMoveWindow to return YES.

Cheers,
Ken

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >movableByWindowBackground (From: Torsten Curdt <email@hidden>)

  • Prev by Date: Re: movableByWindowBackground
  • Next by Date: NSImage glowing
  • Previous by thread: Re: movableByWindowBackground
  • Next by thread: NSImage glowing
  • Index(es):
    • Date
    • Thread