On Aug 25, 2009, at 8:35 AM, Jason Foreman wrote:


On Aug 24, 2009, at 7:44 PM, Kyle Sluder wrote:

On Mon, Aug 24, 2009 at 5:39 PM, Jack Carbaugh<[email protected]> wrote:
My question is how do i change the contextual menu when the user right
clicks.

Override -menuForEvent:.


Another way is to implement the - tableView:willDisplayCell:forTableColumn:row: delegate method and assign the cell's menu there.


Or, populate the menu dynamically.

The DragNDropOutlineView demo app (on your system) and the 10.5 AppKit release notes cover this.

corbin

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to