Re: determining dragging source
Re: determining dragging source
- Subject: Re: determining dragging source
- From: Koen van der Drift <email@hidden>
- Date: Sat, 27 Jul 2002 11:58:35 -0400
>
> Oh, one more thing. How do I prevent my palette (an NSPanel) to respond
>
> to the Close command (Cmd-W)?
>
>
Assign your panel a delegate that contains the -
>
(BOOL)windowShouldClose method.
I added this code, but it doesn't add the functionality I am looking for.
The panel now also doesn't close when I click the close button. The
behavior I am looking for is like the toolpalettes in the Sketch.app in the
devtools examples. I copied all the settings for the nib file to my own
palette, but it doesn't work. Also, Sketch doesn't use the
(BOOL)windowShouldClose method.
how do I do this?
thanks,
- Koen.
_______________________________________________
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.