Re: Safari-4-like Pulldown List

2009-06-16 Thread Sean Murphy
On Jun 14, 2009, at 5:01 AM, Dong Feng wrote: I want to implement a pulldown list like what FireFox does with its address bar (or its Google search bar). I think it involves to open a borderless window and draw items through Cocoa drawing APIs. But when I saw Safari 4, its pulldown list's

Re: first responder stopped working

2008-12-14 Thread Sean Murphy
On Dec 13, 2008, at 11:50 PM, John Nairn wrote: My application frequently recreates a window which involves deleting all the subviews and adding new ones (while keeping the window open). It used to work, but now when it reloads, it fails to accept the one view I designate to the be the

Re: Sheet window as firstResponder

2008-04-26 Thread Sean Murphy
On Apr 25, 2008, at 12:53 PM, Lorenzo Bevilacqua wrote: I'm trying to get keyDown events from the contentView of a sheet window. I overrided the acceptsFirstResponder method to return YES, and added a - (void) keyDown: (NSEvent *) event. The problem is that when the sheet becomes visible

Re: KVO and Object Arrays

2008-04-20 Thread Sean Murphy
On Apr 20, 2008, at 1:13 AM, Jake Carter wrote: So the AppDelegate will contain an array of Foo object and each Foo object will have an array of Bar objects. I want to be able to observe the bars from the AppDelegate to see when new bars are added or when a property changes in each bar

Re: A question about Tabviews and tabview items

2008-04-13 Thread Sean Murphy
On Apr 13, 2008, at 6:24 PM, Development wrote: Is it possible to create a tabview who's tabviewitems have a custom look, For instance, the label is horizontal when the tabs are on the side, or can have icons? If so could I get a pointer to some info as I cant seem to find any. Rather

Re: Running a Choose Template Sheet

2008-04-13 Thread Sean Murphy
On Apr 13, 2008, at 11:10 PM, Kip Nicol wrote: I'm trying to implement a Choose Template sheet that pops down with the creation of a new document, one very similar to the Choose Template sheet that pops down for each new Keynote document. Kip, Erik Buck wrote an article about such an

Re: Charting API?

2008-02-28 Thread Sean Murphy
On Feb 27, 2008, at 2:14 PM, Chris Schmitt wrote: I want to add some simple bar graphs and pie charts to my project. Is there an apple api for charting or do you need to use a 3rd party product? Regarding the Google Charting API that was mentioned, you can take simpler route and avoid