• 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
Getting a custom cursor to appear at app startup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting a custom cursor to appear at app startup


  • Subject: Getting a custom cursor to appear at app startup
  • From: Ron Fleckner <email@hidden>
  • Date: Thu, 4 Aug 2005 14:14:08 +1000

Hi,
I'm trying to get a custom cursor to appear when my app starts, but the best I can do so far is get the cursor to appear on a mouseMoved: event. Ideally, I'd like the cursor to appear and just be there when the app starts. I've tried sending both a mouseDown: and a mouseMoved with the very long-named mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context :eventNumber:clickCount:pressure: in the contentView's drawRect: and this sends the event, but the cursor only draws for a fraction of a second, then reverts to the arrow cursor. But wait, there's more! If I try sending this event programmatically with the above method, then the cursor *sometimes* refuses to change on mouseMoved:.
So, how can I get a custom cursor to appear when the app starts?


Ron
_______________________________________________
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


  • Prev by Date: Re: Cocoa Books?
  • Next by Date: solved re: Faceless background agent application
  • Previous by thread: Re: decoding arabic text broken (SOLVED)
  • Next by thread: NSString with non-ASCII character
  • Index(es):
    • Date
    • Thread