• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Split views and "metal" textured windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Split views and "metal" textured windows (From: Tim Hewett <email@hidden>)

  • Prev by Date: Refreshing Finder after icon change
  • Next by Date: Re: determining encoding on documents
  • Previous by thread: Split views and "metal" textured windows
  • Next by thread: animate text
  • Index(es):
    • Date
    • Thread