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: Eric Peyton <email@hidden>
- Date: Thu, 24 Jan 2002 11:57:05 -0600
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)
_______________________________________________
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.