Skip navigation.
 
mlRe: Disable minimize
FROM : Clark Cox
DATE : Wed Dec 15 20:47:57 2004

On Wed, 15 Dec 2004 10:59:54 -0800, <email_removed>
<<email_removed>> wrote:
> Hi,
>
> Does anyone know how to disable the yellow minimize button on all the
> windows?


On *all* the windows? If you mean disabling the minimize functionality
system wide, then I don't think you can or should. If, on the other
hand, you only mean for windows that you create, then the answer
depends on how you're creating the windows:

In a nib: (Cocoa or Carbon) select the window, and uncheck "Minimize"
in the inspector window
In code, Cocoa: Pass the appropriate mask to -[NSWindow
initWithContentRect:...]; (by or'ing together the NSXXXWindowMask
constants, leaving out NSMiniaturizableWindowMask)
In code, Carbon: Pass the appropriate mask to whatever CreateWindow
function you're using (by or'ing together the kWindowXXXAttribute
constants, leaving out kWindowCollapseBoxAttribute)

--
Clark S. Cox III
<email_removed>
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/

Related mailsAuthorDate
mlDisable minimize feedback@sideburn.… Dec 15, 19:59
mlRe: Disable minimize Clark Cox Dec 15, 20:47
mlRe: Disable minimize feedback@sideburn.… Dec 15, 21:03
mlre: Disable minimize George Warner Dec 15, 21:25