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

pointingHandCursor


  • Subject: pointingHandCursor
  • From: Ruben Smits <email@hidden>
  • Date: Wed, 3 Dec 2003 10:44:36 +0100

Hi all,

I've got an NSTextField. This field is filled with an NSAttributedString that contains a link to a website.
When the mouse moves over this field I want the pointingHandCursor to be shown.

My code in the WindowController:
[[myTextField addCursorRect:[myTextField frame] cursor:[NSCursor pointingHandCursor]];
[[self window]enableCursorRects];

Why doesn't this work? These statements have no effect at all, cursur is IBeamCursor over the NSTextField.

Any ideas?
_______________________________________________
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: pointingHandCursor
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: Re: Connecting lots of fields
  • Next by Date: Re: pointingHandCursor
  • Previous by thread: Re: SearchKit and SKIndexDocumentIterator
  • Next by thread: Re: pointingHandCursor
  • Index(es):
    • Date
    • Thread