Re: Stopping double clicking of a file
Re: Stopping double clicking of a file
- Subject: Re: Stopping double clicking of a file
- From: development2 <email@hidden>
- Date: Wed, 4 Oct 2006 13:29:30 -0600
Exactly what I need thank you so much. And sorry to everyone for all
the chatter on the list.
thanks.
On Oct 4, 2006, at 1:23 PM, Eric Schlegel wrote:
On Oct 4, 2006, at 11:43 AM, development2 wrote:
Or I guess what I could do, is some how trap it before it opens
the file, and show the Login window, and wait until a valid login,
then I could open it. But i guess that would be the same thing, I
need to be able to know if the file is double clicked.
I think what you need to do is provide an NSApplication delegate
that implements application:openFile:, and put up your login window
inside that method. See <http://developer.apple.com/documentation/
Cocoa/Reference/ApplicationKit/Classes/NSApplication_Class/
Reference/Reference.html#//apple_ref/occ/instm/NSObject/
application:openFile:>.
-eric
_______________________________________________
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