dragging windows

Shawn Erickson shawnce at gmail.com
Fri Feb 1 13:19:53 PST 2008


On Jan 31, 2008 3:49 PM, William Ehrich <ehrich at mninter.net> 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. For something like Solitaire the program would drag a card if the first click is on one, or drag the whole window if the first click is on the backround. I wish more programmers would do that. Apple might even suggest it in their human interface guidelines.

You have point to your email? aka a question? :)

<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference.html#//apple_ref/occ/instm/NSWindow/setMovableByWindowBackground:>

<http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGWindows/chapter_18_section_3.html#//apple_ref/doc/uid/20000961-TPXREF10>

-Shawn


More information about the MacOSX-talk mailing list