dragging windows

Scott Anguish scott at cocoadoc.com
Fri Feb 1 17:49:44 PST 2008


Yes, one is a reference document that tells developers how to do it  
that way from a technical standpoint.

The other is the HIG, which tells developers how they should actually  
implement their UI.


On Feb 1, 2008, at 3:46 PM, William Ehrich wrote:

> Shawn Erickson wrote:
>
>>> Some programs, like Net Monitor, have windows with no title bar
>>> that can be dragged form any place. My programs did that when I was
>>> writing software. It's easy with Carbon, but I don't know about
>>> Cocoa.
>
>> <http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference.html#//apple_ref/occ/instm/NSWindow/setMovableByWindowBackground: 
>> >
> Thanks. This sounds like just what I wanted. I wish more programmers  
> would use it. (A wish addressed to programmers who read this list.)
>
>>> Apple might even suggest it in their human interface guidelines.
>
>> <http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGWindows/chapter_18_section_3.html#//apple_ref/doc/uid/20000961-TPXREF10 
>> >
> This says that "Even if a window does not have an actual title (a  
> tools panel, for example), it should have a title bar so that users  
> can move the window." But your other reference makes the title bar  
> unnecessary letting me use the uncluttered plain windows that I  
> prefer.
>
> -- Bill Ehrich
> _______________________________________________
> MacOSX-talk mailing list
> MacOSX-talk at omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/macosx-talk



More information about the MacOSX-talk mailing list