Re: showing a list of mounted volumes with icon

2010-04-24 Thread James W. Walker
On Apr 24, 2010, at 7:53 AM, Angelo Chen wrote: > NavCreateChooseVolumeDialog will do, thanks. I was trying to find a sample > code that uses the function in the net, but none so far, any idea where I can > find a sample code for this function? No, but all the NavCreate... functions work prett

Re: showing a list of mounted volumes with icon

2010-04-24 Thread Angelo Chen
of mounted volumes with icon 收件人: cocoa-dev@lists.apple.com 日期: 2010年4月24日,星期六,上午9:23 On 4/23/2010 5:47 PM, Angelo Chen wrote: > I'd just like show a collection of mounted volumes in a sheet and let user choose one of them. Carbon has a call just for this (NavCreateChooseVolumeDialog) but

Re: showing a list of mounted volumes with icon

2010-04-23 Thread James Walker
On 4/23/2010 5:47 PM, Angelo Chen wrote: > I'd just like show a collection of mounted volumes in a sheet and let user choose one of them. Carbon has a call just for this (NavCreateChooseVolumeDialog) but I don't see anything so easy for Cocoa. You can get a list of volumes with NSFileManager, ge

Re: showing a list of mounted volumes with icon

2010-04-23 Thread Angelo Chen
Hi Kyle, I'd just like show a collection of mounted volumes in a sheet and let user choose one of them. Thanks, Angelo --- 2010年4月24日 星期六,Kyle Sluder 寫道﹕ 寄件人: Kyle Sluder 主題: Re: showing a list of mounted volumes with icon 收件人: "Angelo Chen" 副本(CC): Cocoa-dev@lists.apple.com 日

Re: showing a list of mounted volumes with icon

2010-04-23 Thread Kyle Sluder
On Fri, Apr 23, 2010 at 10:01 AM, Angelo Chen wrote: > Hi, > Just like when press 'Option' while booting, we can see a list of volumes > with icons, is there a simple way to do something similar in a sheet? Thanks, What is the part you're trying to emulate, the appearance or the functionality? D

showing a list of mounted volumes with icon

2010-04-23 Thread Angelo Chen
Hi, Just like when press 'Option' while booting, we can see a list of volumes with icons, is there a simple way to do something similar in a sheet? Thanks, Angelo ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin reques