Re: Newbie question: floating windows/panels
Re: Newbie question: floating windows/panels
- Subject: Re: Newbie question: floating windows/panels
- From: David Remahl <email@hidden>
- Date: Sat, 13 Apr 2002 13:12:56 +0200
>
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?
_Nothing_ comes easily in carbon ;-)
>
Or can I just use a Carbon nib inside a Cocoa application, without
>
losing the Cocoa functionality and Objective-C...
That is what he is saying. But he also says the integration is a bit of a
pain.
>
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...
You can for example post an AppleEvent to the application, if it supports
that.
/ david
>
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.
_______________________________________________
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.