• 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
just set a custom cursor on NSButton...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

just set a custom cursor on NSButton...


  • Subject: just set a custom cursor on NSButton...
  • From: Thierry Bucco <email@hidden>
  • Date: Fri, 3 Aug 2001 00:26:02 +0200

Hi,

I just want to change the mouse cursor when I move the it over a button.

I use this code :

NSCursor *theCursor = [[NSCursor alloc] initWithImage:[NSImage imageNamed:@"cursor.tiff"] hotSpot:NSMakePoint(1,1)];
[[mainWindow contentView] addCursorRect:[theButton frame] cursor:theCursor];


But it doesn't work have you an idea ?

Thanks

Thierry


  • Prev by Date: Re: NSAWTView: please vote
  • Next by Date: Re: NSAWTView: please vote
  • Previous by thread: Re: file parsing
  • Next by thread: Re: NSMutableString, NSString ,character for character
  • Index(es):
    • Date
    • Thread