Background: My application has a main window which contains a few smaller NSView objects, each of which contains several different controls, lables, images, etc. One of these views (and everything it contains) is disabled in response a given flag. When the flag is set, I automatically disable and grey-out all of the controls embedded within that NSView.
Question: I would like to know how to darken the disabled NSView. The effect I am looking for would be something like drawing a 50% transparent black box on top of the disabled NSView. The background and all of the controls would still be visible, but the colors would be a shade darker. Is there a simple way to do this?