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

Re: addCursorRect:cursor


  • Subject: Re: addCursorRect:cursor
  • From: j o a r <email@hidden>
  • Date: Fri, 8 Sep 2006 18:15:58 +0200


On 8 sep 2006, at 18.07, Trygve Inda wrote:

I have an NSButton that I want to have force the cursor to change as it
passes over it. Do I need to subclass it and include addCursorRect:cursor?
Surely there is an easier way since then I would have to programmatically
define my button whereas now I use IB to set all its attributes.

You can use IB also for subclasses of standard controls.
Just have IB parse the header file of your subclass, and use the inspector to set the class of the control to be that of your subclass.


j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >addCursorRect:cursor (From: Trygve Inda <email@hidden>)

  • Prev by Date: addCursorRect:cursor
  • Next by Date: Tracking rectangles and bezier paths
  • Previous by thread: addCursorRect:cursor
  • Next by thread: Tracking rectangles and bezier paths
  • Index(es):
    • Date
    • Thread