Returns a new instance of a given standard window button, sized appropriately for a given window style.
Original signature is '+ (NSButton *)standardWindowButton:(NSWindowButton)windowButtonKind forStyleMask:(NSUInteger)windowStyle'
Available in Mac OS X v10.2 and later.

C# | Visual Basic | Visual C++ |
public static NSButton StandardWindowButtonForStyleMask( NSWindowButton windowButtonKind, NSUInteger windowStyle )
Public Shared Function StandardWindowButtonForStyleMask ( _ windowButtonKind As NSWindowButton, _ windowStyle As NSUInteger _ ) As NSButton
public: static NSButton^ StandardWindowButtonForStyleMask( NSWindowButton windowButtonKind, NSUInteger windowStyle )

- windowButtonKind (NSWindowButton)
- The kind of standard window button to return.
- windowStyle (NSUInteger)
- The window style for which windowButtonKind is to be sized. See “Window Style Masks” for the list of allowable values.

The new window button of the kind identified by windowButtonKind; nil when no such button kind exists.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)