Re: NSTableView like iTunes
Re: NSTableView like iTunes
- Subject: Re: NSTableView like iTunes
- From: 陳銘崧 a.k.a. James Chen <email@hidden>
- Date: Sun, 1 Aug 2004 01:11:32 +0800
Hi,
I think you could use NSTableView and implement it's delegate method
-tableView:mouseDownInHeaderOfTableColumn: to receive that kinds of
events. And then you could call NSMenu's class method
+popUpContextMenu:withEvent:fromView: to popup your menu.
HTH,
James
On Jul 30, 2004, at 11:45 PM, Luca Torella wrote:
Hi all,
I'd like to know how to create a table view like iTunes one. I mean,
in iTunes, if you control click with your mouse on the top-right
corner a menu shows up. A menu in which the user can choose what
columns to display and what columns hide.
Regards,
Luca.
_______________________________________________
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.
------------------------------------
Ulead Systems Inc.
James Chen
Software Engineer
Image Div.
------------------------------------
_______________________________________________
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.