QTMovie and audio stream

2009-09-10 Thread Massimiliano Gargani
Hi all, I'm developing a little music player. It works fine with file but it doesn't work with audio streaming. my code is: NSURL* theFilePath = [[NSURL alloc] initWithString:[[theTable objectAtIndex:sx] objectForKey:@"Location"]]; NSLog(@"the file path %@", theFilePath);

Re: NSString width

2009-09-05 Thread Massimiliano Gargani
I've searched on cocoabuilder before post. I swear. Thanks a million. Max Il giorno 05/set/09, alle ore 16:32, Dave Keck ha scritto: http://lists.apple.com/archives/Cocoa-dev/2001/Nov/msg01347.html ___ Cocoa-dev mailing list (Cocoa-dev@lists.appl

NSString width

2009-09-05 Thread Massimiliano Gargani
Hi, anybody knows how I can get the width of a string? I'm doing a "ticker like" scrolling text and it works but it always scrolls even if the string is smaller than frame width. I want the scroll starts only if the string is wider than frame. Thanks, Max __

Re: NSScroller width

2009-09-02 Thread Massimiliano Gargani
I'm still stuck with this problem. Anyone can drive me in the right direction? Thanks, Max Il giorno 31/ago/09, alle ore 10:34, Massimiliano Gargani ha scritto: Thanks a lot, I had to subclass also the scroll view but it partially works. Now my code is: @implementation MyScr

Re: NSScroller width

2009-08-31 Thread Massimiliano Gargani
ller.m Brandon On 2009-08-30, at 5:25 AM, Massimiliano Gargani wrote: Hi there, I've googled a lot before post this question but I'm stucked. I'm trying to subclassing NSScroller to change the aqua look and, most important, to change the width of the vertical scroll bar.

NSScroller width

2009-08-30 Thread Massimiliano Gargani
Hi there, I've googled a lot before post this question but I'm stucked. I'm trying to subclassing NSScroller to change the aqua look and, most important, to change the width of the vertical scroll bar. My subclass is: - (void)drawRect:(NSRect)rect { [self drawKnobSlot]; [sel

Re: scroll automatically if the text is too long

2009-08-24 Thread Massimiliano Gargani
Just to clarify, I've talked about itunes just as example. What I looking for is a way to: I have a table (not editable) with 1 column and severals rows. contents in some rows is longer than colum width so I have: Column --- Venice Rome Los Ang New Yor Washin. etc etc So

Re: scroll automatically if the text is too long

2009-08-24 Thread Massimiliano Gargani
learning cocoa and before ask here I've googled a lot. Thanks, Max Il giorno 24/ago/09, alle ore 14:40, Graham Cox ha scritto: On 24/08/2009, at 10:30 PM, Massimiliano Gargani wrote: I've noticed that Line break for Table View attributes is fixed to Word Wrap and don't l

Re: scroll automatically if the text is too long

2009-08-24 Thread Massimiliano Gargani
and don't let you to change. Thanks, Max Il giorno 24/ago/09, alle ore 14:17, Sean Kline ha scritto: Interface Builder->Text Field Cell Attributes->Layout->Scrolls On Mon, Aug 24, 2009 at 3:59 AM, Massimiliano Gargani wrote: Hi there, there's a simple way

scroll automatically if the text is too long

2009-08-24 Thread Massimiliano Gargani
Hi there, there's a simple way to make text in a cell of a table to automatically scroll if the text is longer than the text field? something like itunes when song title is too long and start to scroll horizontally. Thanks, Max ___ Cocoa-dev m

Re: Table view with multiple columns

2009-08-22 Thread Massimiliano Gargani
Thanks, NSDictionary is my friend. Max Il giorno 22/ago/09, alle ore 07:39, Andrew Farmer ha scritto: On 21 Aug 2009, at 03:53, Massimiliano Gargani wrote: I have a mutable array with inside something like "luke","l...@luke.com ","mark","m...@mark

Table view with multiple columns

2009-08-21 Thread Massimiliano Gargani
Hi everybody, I'm learning cocoa to write a little app. I'm facing a problem I can't solve by myself. I've red loads of tutorials, post, specification, but I can't make it work. I have a mutable array with inside something like "luke","l...@luke.com","mark","m...@mark.com", .. I c