> On 2015/01/11, at 5:25, Quincey Morris <quinceymor...@rivergatesoftware.com> > wrote: > > BTW, if the text field is changing the cursor on mouseMoved: events, which is > possible, then your attempts to control the cursor with cursorUpdate: seem > doomed to failure. Not doomed to failure, but likely requiring a subclass of NSTextField or a custom cell class that does conditional override of the default behavior. Likely with a shared delegate or controller with your button to help coordinate.
But if AppKit does this with internal state based on private API that is not affected by subclassing, then you are in for more pain. . Have you tried simply setting setEditable: and setSelectable: to NO? If you track cursor entry into and out of another view or control, you could probably toggle these as appropriate. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com