• 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
Drawing outside NSScrollView clipping area
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing outside NSScrollView clipping area


  • Subject: Drawing outside NSScrollView clipping area
  • From: Mark Alldritt <email@hidden>
  • Date: Mon, 05 Jan 2004 11:13:16 -0800

Hi,

I'm trying to figure out how to draw outside the clipping area of an
NSScrollView. Like NSTableView on Panther, my NSView subclass has stripped
background that I want to extend to the right when my NSScrollView is
resized larger than my view's frame.

I've been playing around with creating a patterned background color for the
NSScrollView, but that does not work because NSScrollView is not flipped.
Is there some magic call for NSScrollView/NSClipView, or must I create my
own NSClipView subclass to draw my background?

Cheers
-Mark

---------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 333 Moss Street
FAX: 250-383-3204 Victoria, B.C.
WEB: http://www.latenightsw.com/ CANADA V8V-4M9
AIM: markalldritt
_______________________________________________
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.

  • Prev by Date: Re: NSBox subview size
  • Next by Date: Re: People who develop with MySQL and/or other GPL based code
  • Previous by thread: Re: Testing NSLineBreakByTruncatingTail
  • Next by thread: [WebKit] getting the size of the webFrame's contents
  • Index(es):
    • Date
    • Thread