Contextual menu in a Modal Dialog
Contextual menu in a Modal Dialog
- Subject: Contextual menu in a Modal Dialog
- From: "Anthony Cheung" <email@hidden>
- Date: Fri, 18 Jul 2003 11:24:17 +0800
Dear all,
I got a question which I hope you can give some hints.
I have implemented an application which will bring up a modal dialog. In the
modal dialog, it contains a NSImageView. I have added a contextual menu on the
NSImageView. I linked each item in the menu with an action in the modal dialog
class. I have implemented validateMenuItem: method. When I run the
application, I got no problem to pop up the contextual menu from my modal
dialog. However, all menu items are disabled. I have checked that it hasn't
called validateMenuItem: method. I don't know what I have done wrong as I
successfully implement a contextual menu on my main application window.
Please advise.
Many thanks for your response.
Regards,
Anthony
_______________________________________________
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.