Re: Cocoa DropShell Wanted (Was Re: Implementing Open Document AE in Cocoa)
Re: Cocoa DropShell Wanted (Was Re: Implementing Open Document AE in Cocoa)
- Subject: Re: Cocoa DropShell Wanted (Was Re: Implementing Open Document AE in Cocoa)
- From: "Daniel E. White" <email@hidden>
- Date: Thu, 24 Jan 2002 13:31:00 -0500
Might be.
I am new to Cocoa and need to understand the scope of what you are saying.
Without any more specific direction, I will start with the API docs on NSApplication and see where that takes me.
Any additional clues for this clueless one would be most welcome.
And thanks.
At 11:57 AM -0600 1/24/02, Eric Peyton wrote:
>
Um - it's *real* easy in Cocoa.
>
>
Add an application delegate that responds to the message ...
>
>
- (BOOL)application:(NSApplication *)sender openFile:(NSString *)filename
>
>
The file is passed as the filename ...
>
>
Is this what you are looking for?
>
>
Eric
>
>
On Thursday, January 24, 2002, at 11:19 AM, Daniel E. White wrote:
>
>
> At 5:44 PM +0100 1/24/02, Taxxodium wrote:
>
>> How do you implement the Open Document AppleEvent from Carbon in Cocoa. You
>
>> know, the action of dropping a file into your apps icon and open that file.
>
>>
>
>> Thanks in advance
>
>
>
> I want that, too, please.
--
------------------------------------------------------------------------
Dan White
------------------------------------------------------------------------
"Sometimes I think the surest sign that intelligent life exists
elsewhere in the universe is that none of it has tried to contact us."
Calvin (Bill Watterson)