Re: Cocoa from carbon - cursor tracking issues
Re: Cocoa from carbon - cursor tracking issues
- Subject: Re: Cocoa from carbon - cursor tracking issues
- From: Alan Dail <email@hidden>
- Date: Tue, 26 Jul 2005 09:13:05 -0400
Any ideas on this? When I run the dialog in interface builder,
cursor tracking works fine. When I call the dialog from carbon,
cursor tracking is all messed up. We're trying to migrate our app to
cocoa, but we can't move the whole thing at once. Is it possible
that our carbon code (MacApp) is simply receiving an event intended
for my cocoa window and isn't passing it on to the window?
Alan
On Jul 25, 2005, at 12:58 PM, Alan Dail wrote:
I have a carbon app (MacApp based) that I am calling cocoa dialogs
from. I am having a problem that seems to be universal to all of
my cocoa dialogs where the mouse isn't changing properly as you
move it over various views. For example, when I move the mouse
over top of a text field, sometimes it changes into an iBeam, far
more often not. And when I move out of the field, it remains an
iBeam long after it should have turned into an arrow. It always
turns back into an arrow when you move out of the dialog itself,
but then it won't turn back into an iBeam when it should.
What could be causing this and what could I do to get it to work
properly. I bring up the dialog with
[[NSApplication sharedApplication] runModalForWindow:[self window]]
Before I call the dialog, I call
NSApplicationLoad();
pool = [[NSAutoreleasePool alloc] init];
and afterwards I call
[(NSAutoreleasePool*)pool release];
Alan
_______________________________________________
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