Re: Dragging a window

2008-05-01 Thread Henry McGilton (Starbase)
On May 1, 2008, at 10:15 PM, Kyle Sluder wrote: On Fri, May 2, 2008 at 1:11 AM, Geert B. Clemmensen <[EMAIL PROTECTED]> wrote: Looking at an old NEXTSTEP application where you e.g. in a mouseDown method could have the window dragged by using the dragFrom: method (as if you were clicking o

Re: list open application windows

2008-05-13 Thread Henry McGilton (Starbase)
On May 12, 2008, at 11:01 PM, Jens Alfke wrote: On 12 May '08, at 8:15 PM, Ben Lowndes wrote: I'm a cocoa newbie, so I may be missing something obvious here: I'd like to get a list of open windows for all currently running applications. Nothing personal, but people seem to ask this questio

Re: Main window disappears. Sometimes.

2008-06-02 Thread Henry McGilton (Starbase)
On Jun 2, 2008, at 1:48 PM, Francis Perea wrote: Hi all For my part just to say that I've learned a lot after the beginning of this post. The application is ready now, but I'll try to read and learn a lot more. And as Paul says I'm having lots of fun with Cocoa :-) Thanks all for yo

Re: Fundamental mistake in my understanding of use of classes/instances/encapsulation/messaging

2008-06-20 Thread Henry McGilton (Starbase)
On Jun 20, 2008, at 5:48 AM, Jason Wiggins wrote: Hi everyone, If possible, could someone please educate me on the fundamental mistake in my understanding of use of classes/instances/ encapsulation/messaging. I have reread the Object-Oriented Programming with Objective-C but didn't find m

Re: Repositioning a content view w/in a window

2008-07-25 Thread Henry McGilton (Starbase)
On Jul 25, 2008, at 6:50 PM, Michael Ash wrote: On Fri, Jul 25, 2008 at 9:42 PM, Graham Cox <[EMAIL PROTECTED]> wrote: Well, it's the usual approach. The content view is something that the window owns to act purely as the root of its view hierarchy - there's usually not much to be gained

Re: Why do all these methods of measuring string metrics with font attribute fail?

2008-09-04 Thread Henry McGilton (Starbase)
On Sep 3, 2008, at 9:38 AM, Douglas Davidson wrote: On Sep 3, 2008, at 6:01 AM, an0 wrote: So, can anyone tell me why all these fell through so badly, and what is the true straightforward way to do this if any? The true straightforward way to do this is with -sizeToFit. -sizeWithAttribut