On Friday, May 9, 2003, at 11:12 AM, Robert Covington wrote: > Trying to get Derek's Gamma Fade Utils working in Carbon. > > First, is there a new simpler way to fade the monitor to black? Use RezLib. It's a freeware shared library by Ian Ollman that does monitor fades and resolution switching in OS 8/9 and in OS X. I don't have an up-to-date URL, but a Google search will find it. > Barring that, can anyone point me to the documentation for, or > replacements for the below? > myCPB&.csCode% = _cscGetGamma > myCPB&.ioRefNum% = theGDevice&..gdRefNum% > myCPB&.csParam& = @theTable& > errorCold = FN STATUS(myCPB&) <----not happy in Carbon > > > myCPB&.csCode% = _cscSetGamma > myCPB&.ioRefNum% = theGDevice&..gdRefNum% > myCPB&.csParam& = theTablePtr& > errorCold = FN CONTROL(myCPB&) <----not happy in Carbon These two calls are properly named PBStatusImmed and PBControlSync. Neither is available in Carbon. Robert P.