I forgot to set the delegate. Now it is working well.

Thanks a lot.
Mahaboob.

On 12/23/08 12:29 PM, "Mahaboob" <mahab...@newtok.com> wrote:

> 
> Thanks for the help,
> Now it is working well with the menu item's action. I also need to perform
> the same thing when I'm clicking the close button of the window. I gone
> through the NSWindow documentation but, I'm unable to figure it out to
> perform close event of the window. How can I fire close event?
> 
> On 12/22/08 5:36 PM, "Mike Abdullah" <cocoa...@mikeabdullah.net> wrote:
> 
>> Either NSWindow or NSWindowController have a -setDocumentEdited:
>> method that will do what you want.
>> 
>> On 22 Dec 2008, at 11:39, Mahaboob wrote:
>> 
>>> In my app I used NSTextView as editor and saves my project along
>>> with the
>>> contents of editor by using archiving and also I can open the saved
>>> project.
>>> Now I need to show a bubble in the close button when I'm making any
>>> changes
>>> in the editor. How can I show the bubble? How can I notify when the
>>> editor
>>> get edited?
>>> 
>>> Thanks in advance
>>> mahaboob
>>> 
>>> 
>>> _______________________________________________
>>> 
>>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>>> 
>>> Please do not post admin requests or moderator comments to the list.
>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>> 
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net
>>> 
>>> This email sent to cocoa...@mikeabdullah.net
>> 
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/mahaboob%40newtok.com
> 
> This email sent to mahab...@newtok.com


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to