Re: cursor control fun
Re: cursor control fun
- Subject: Re: cursor control fun
- From: Joe Baskerville <email@hidden>
- Date: Fri, 29 Sep 2006 11:03:04 +0100
as an update to this:
if i write a category to NSCursor, which returns the arrowpointer cursor
for for every cursor that is requested, i can force the arrowpointer
throughout.
except for the flash, which still changes the cursor. which says to me
that whatever mechanism NSCursor uses is being bypassed by the flash plugin.
can anybody point me in the right direction for this. i dont mind for
now if i can just stop the cursor changing at all, and just force the
arrow pointer throughout. i also dont mind for now if i am just changing
the global cursor, as this is for a kiosk where it'll be the only app
running.
the universal access tool in system preferences can do this, it can
change the cursor system wide to a new size. any ideas how it manages
this, or am i looking in the wrong place?
hope somebody can help.
thanks, joe.
Joe Baskerville wrote:
hi list,
ive got a cocoa app where im embedding a flash movie into a webview.
sometimes there is more than 1 flash movie embedded.
the flash hijacks the application cursor. i need to stop this happening,
it's flickering between different cursors like crazy.
so i figure i'll write a category for cocoa to keep everything under
control. but then i remember that i'm too much of a n00b to be able to
accomplish this.
so, does anybody nave any idea how i could go about this, i.e. every
time a request is made to change the cursor, i pass it through a set of
tests to decide wether it can or cannot change.
ive writen a category for NSCursor that has an instance method called
set, which logs out when a request to set the cursor has been made, and
i can see this gets called every time there is a cursor flash, but im
not sure how to stop the cursor actually being set until i am ready.
or is there a better way to do this.
hope somebody can help,
cheers, joe.
_______________________________________________
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
--
Joe Baskerville
Senior Developer | Email: email@hidden
Cognitive Applications Ltd | Phone: +44 (0)1273-821600
http://www.cogapp.com | Fax : +44 (0)1273-728866
_______________________________________________
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