Getting a custom cursor to appear at app startup
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