MonobjcMonobjc Documented Class Library
NSWindowStyleMask Enumeration
NamespacesMonobjc.AppKitNSWindowStyleMask

These constants specify the presence of a title and various buttons in a window’s border. It can be NSBorderlessWindowMask, or it can contain any of the following options, combined using the C bitwise OR operator:

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[FlagsAttribute]
public enum NSWindowStyleMask
<FlagsAttribute> _
Public Enumeration NSWindowStyleMask
[FlagsAttribute]
public enum class NSWindowStyleMask
Members
MemberDescription
NSBorderlessWindowMask

The window displays none of the usual peripheral elements. Useful only for display or caching purposes.

Available in Mac OS X v10.0 and later.


NSTitledWindowMask

The window displays a title bar.

Available in Mac OS X v10.0 and later.


NSClosableWindowMask

The window displays a close button.

Available in Mac OS X v10.0 and later.


NSMiniaturizableWindowMask

The window displays a minimize button.

Available in Mac OS X v10.0 and later.


NSResizableWindowMask

The window displays a resize control.

Available in Mac OS X v10.0 and later.


NSTexturedBackgroundWindowMask

The window displays with a metal-textured background. Additionally, the window may be moved by clicking and dragging anywhere in the window background. A bordered window with this mask gets rounded bottom corners.

Available in Mac OS X v10.2 and later.


NSDocModalWindowMask

The panel is created as a modal sheet.

Available in Mac OS X v10.0 and later.


NSNonactivatingPanelMask

The panel can receive keyboard input without activating the owning application.

Valid only for an instance of NSPanel or its subclasses; not valid for a window.

Available in Mac OS X v10.2 and later.


NSHUDWindowMask

The panel is created as a transparent panel (sometimes called a “heads-up display”).

Valid only for an instance of NSPanel or its subclasses; not valid for a window.

Using the C bitwise OR operator, , NSHUDWindowMask can be combined with other style masks (some of which are documented in Window_Style_Masks) with the following results:

The following constants cannot be combined with , NSHUDWindowMask: NSMiniaturizableWindowMask, NSTexturedBackgroundWindowMask, NSDocModalWindowMask, and NSUnifiedTitleAndToolbarWindowMask.

Available in Mac OS X v10.5 and later.


NSUnifiedTitleAndToolbarWindowMask

Specifies a window whose toolbar and title bar are rendered on a single continuous background.

Available in Mac OS X v10.4 and later.


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

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)