NSComboBoxCell subclass pointers?

2016-11-20 Thread Robert Monaghan
Hi Everyone! This one has me stumped.. I have been working on a custom UI for my Cocoa application. By looking around the internet, I have managed to learn how to subclass a large number of UI objects on MacOSX. In many cases I could make the appearance work the way I want. The last UI elemen

Flipped print previews

2016-11-20 Thread Jeff Evans
I'm printing from a view-based OSX app (compiled for 10.11), and have found it easy to print by creating a print operation from the view in question. The view is flipped (that is, returns YES to IsFlipped) and looks good on screen. The view creates a print operation this way: NSPrintOpe

Flipped print previews

2016-11-20 Thread Jeff Evans
p.s. As I was unclear: the image returns YES to flipped and draws on that assumption, looking good. When I say the image in the print dialog is "flipped" I mean that it is backwards - mirrored - the reverse of what it should be - as if it were an unflipped view - until it is drawn a second time.

Re: Flipped print previews

2016-11-20 Thread Gary L. Wade
I remembered seeing something like that in an app that had been doing some things deep with the drawRect: call that was causing the view to become dirty again. I fixed it by getting rid of that code. Try looking for something like that first. -- Gary L. Wade (Sent from my iPhone) http://www.gary