Enum IWindow.IDesktopStyle.DesktopWindowLevel
Cross-platform window stacking level (Z-order abstraction).
public enum IWindow.IDesktopStyle.DesktopWindowLevel
Fields
Floating = 100Floating utility window above normal windows.
macOS:
NSWindow.Level.floating.
Windows: implemented viaHWND_TOPMOST.Modal = 300Modal dialog level that blocks interaction with other app windows.
macOS:
NSWindow.Level.modalPanelor sheets.
Windows: enforced via window ownership and modality, not a unique Z-order tier.Normal = 0Standard application window.
macOS:
NSWindow.Level.normal.
Windows: normal (non-topmost) window.StatusBar = 200High-floating level for small status or utility UI.
macOS:
NSWindow.Level.statusBar.
Windows: approximated as topmost, often with utility window styles.
Remarks
macOS: Maps to NSWindow.Level values such as .normal, .floating,
.statusBar, and .modalPanel.
Windows: Maps primarily to Win32 Z-order using HWND_TOPMOST /
HWND_NOTOPMOST. Higher levels may be approximated, as Windows exposes fewer
public layering tiers than macOS.