Re: drawing outside the dirtyRect (of a NSView sub class) and overlapping NSTableView

2013-08-05 Thread dangerwillrobinsondanger
You might take a look at some of the Apple sample code like FunkyOverlayWindow It does not do this exactly but does show how to place a view over other views and draw things. If I recall correctly. Sent from my iPhone On 2013/08/04, at 23:44, Nick Rogers wrote: > Hi, > > I have a column of

Re: drawing outside the dirtyRect (of a NSView sub class) and overlapping NSTableView

2013-08-05 Thread Uli Kusterer
On Aug 5, 2013, at 4:10 PM, Steve Mills wrote: > Ah, you're right. I was thinking overlay window as an alternative too. Seems a bit heavy-weight. Overlapping views should work these days (turn on layer-backing) or just manually create your own CALayer. That way you don't have to muck with chil

Re: drawing outside the dirtyRect (of a NSView sub class) and overlapping NSTableView

2013-08-05 Thread Steve Mills
On Aug 4, 2013, at 12:56:06, Ken Thomases wrote: > I don't think that will work because the containing view will draw behind the > contained views. Ah, you're right. I was thinking overlay window as an alternative too. -- Steve Mills office: 952-818-3871 home: 952-401-6255 cell: 612-803-6157

Re: drawing outside the dirtyRect (of a NSView sub class) and overlapping NSTableView

2013-08-04 Thread Ken Thomases
On Aug 4, 2013, at 9:59 AM, Mills, Steve wrote: > On Aug 4, 2013, at 9:45, "Nick Rogers" wrote: > >> I have a column of buttons stacked up one over the other and on clicking a >> button I want to draw an image on it with an arrow protruding to the right. >> And on the right side there is a tab

Re: drawing outside the dirtyRect (of a NSView sub class) and overlapping NSTableView

2013-08-04 Thread Mills, Steve
On Aug 4, 2013, at 9:45, "Nick Rogers" wrote: > I have a column of buttons stacked up one over the other and on clicking a > button I want to draw an image on it with an arrow protruding to the right. > And on the right side there is a tab view and in it there is a table view. > So the arrow pa

drawing outside the dirtyRect (of a NSView sub class) and overlapping NSTableView

2013-08-04 Thread Nick Rogers
Hi, I have a column of buttons stacked up one over the other and on clicking a button I want to draw an image on it with an arrow protruding to the right. And on the right side there is a tab view and in it there is a table view. So the arrow part of the image must overlap the tab view and table