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

Re: hand cursors


  • Subject: Re: hand cursors
  • From: Nicholas Riley <email@hidden>
  • Date: Sat, 2 Nov 2002 09:24:47 -0600
  • Mail-followup-to: Matthew Smith <email@hidden>, Cocoa Developer <email@hidden>

On Sat, Nov 02, 2002 at 08:33:06PM +1100, Matthew Smith wrote:
> Hello,
>
> Any ideas on how to turn the cursor into an open hand??? Or is the only way
> to load an image and add that to a cursor...

Yeah, and file a bug asking Apple to add the rest of the standard
Appearance cursors to Cocoa. What you want is kThemeOpenHandCursor
(see Appearance.h). You can probably figure out a way to grab it, but
I've just been lazy and made a TIFF file out of the cursor.

> Also, is there an easy way to warp the cursor to a point on the screen? Or
> do I have to use:
>
> CGWarpMouseCursorPosition(CGPoint newCursorPosition);

I'm having trouble figuring out what could be easier than a function
call with a single argument.

--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
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: hand cursors
      • From: Matthew Smith <email@hidden>
    • Re: hand cursors
      • From: email@hidden
References: 
 >hand cursors (From: Matthew Smith <email@hidden>)

  • Prev by Date: Re: Speech Recognition / Synthesis Cocoa APIs ??? Where ?????
  • Next by Date: Re: metallized interface (offtopic rant)
  • Previous by thread: hand cursors
  • Next by thread: Re: hand cursors
  • Index(es):
    • Date
    • Thread