• 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: Textured Window Responder Issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Textured Window Responder Issue


  • Subject: Re: Textured Window Responder Issue
  • From: Benjamin Stiglitz <email@hidden>
  • Date: Mon, 1 Dec 2008 14:34:36 -0500
  • Mail-followup-to: email@hidden

> When the view uses NSOpenGLView a mouse drag in the view will send
> events to the view. It works properly.
>
> When the view uses CAOpenGLLayer a mouse drag in the view will move the
> window! The mouse events are being sent to the view but are apparently
> being picked up and acted upon by the window as well.

Presumably you have a custom view; you need to return the right value
from -[NSView mouseDownCanMoveWindow]:

<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/occ/instm/NSView/mouseDownCanMoveWindow>

-Ben
_______________________________________________

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

  • Follow-Ups:
    • Re: Textured Window Responder Issue
      • From: Richard Somers <email@hidden>
References: 
 >Textured Window Responder Issue (From: Richard Somers <email@hidden>)

  • Prev by Date: Re: displaying huge log files
  • Next by Date: Re: Crash when closing window from the menu
  • Previous by thread: Textured Window Responder Issue
  • Next by thread: Re: Textured Window Responder Issue
  • Index(es):
    • Date
    • Thread