Re: Newbie question: floating windows/panels
Re: Newbie question: floating windows/panels
- Subject: Re: Newbie question: floating windows/panels
- From: Afonso Salcedo <email@hidden>
- Date: Sat, 13 Apr 2002 12:00:21 +0000
Hi again,
Just to check something. Basically, you're saying that if I program my
application in Carbon instead of Cocoa, I would have the functionality I
want easily?
Or can I just use a Carbon nib inside a Cocoa application, without
losing the Cocoa functionality and Objective-C...
Another problem I'm facing. Is there any way to send an event from my
Cocoa application to a Carbon application? Basically, what I want to do
is that when the user clicks on a button on my Cocoa app, it copies a
string to the Carbon app (MSN Messenger in this case)... Right now, I am
just copying the string to NSPasteboard and assuming the user performs a
paste command inside MSN Messenger...
Thanks and sorry for troubling you again...
Afonso
This is basically a "problem" (I'd call it a bug) with the way utility
panels work in Cocoa. I wasn't able to find any sort of work-around, so
had
to implement mine with a Carbon utility window, created from a Carbon
nib
file, assigned to NSWindow via -initWithWindowRef. Quite a pain to
implement, but it does work properly.
Evan Gross
Rainmaker Research Inc.
_______________________________________________
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.