Re: Split views and "metal" textured windows
Re: Split views and "metal" textured windows
- Subject: Re: Split views and "metal" textured windows
- From: Alexei Kosut <email@hidden>
- Date: Mon, 21 Jul 2003 11:29:39 -0700
On Sunday, July 20, 2003, at 1:54 AM, Tim Hewett wrote:
A lot of the area in the subviews of the NSSplitView is blank metal
and it would be intuitive to allow the window to be dragged using
it, but I can't figure out how to. Any help would be much appreciated!
I ran into this issue recently; the best solution I came up with was to
write a subclass of NSView with its own window-dragging code. I then
used my subclass instead of NSView for the "blank" subviews of the
splitview. It seems to work pretty well.
My code is available at
<
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/zephyrchat/zchat/zChat/
ZCDraggableView.m?rev=HEAD>
<
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/zephyrchat/zchat/zChat/
ZCDraggableView.h?rev=HEAD>
Hope this helps!
--
Alexei Kosut <email@hidden> <
http://cs.stanford.edu/~akosut/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.