FROM : feedback@sideburn.com
DATE : Wed Dec 15 21:03:40 2004
No I mean system wide... Like how windowshade works. I know, its ugly..
On 12/15/04 11:47 AM, "Clark Cox" <<email_removed>> wrote:
> 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)
DATE : Wed Dec 15 21:03:40 2004
No I mean system wide... Like how windowshade works. I know, its ugly..
On 12/15/04 11:47 AM, "Clark Cox" <<email_removed>> wrote:
> 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)
| Related mails | Author | Date |
|---|---|---|
| feedback@sideburn.… | Dec 15, 19:59 | |
| Clark Cox | Dec 15, 20:47 | |
| feedback@sideburn.… | Dec 15, 21:03 | |
| George Warner | Dec 15, 21:25 |






Cocoa mail archive

