Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Window.GetWindowDisplayAffinity

Queries the window display affinity.

Component Version macOS Windows Linux Server iOS SDK
Window 15.3 ❌ No ✅ Yes ❌ No ❌ No ❌ No
MBS( "Window.GetWindowDisplayAffinity"; WindowRef )   More

Parameters

Parameter Description Example
WindowRef Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. 0

Result

Returns number or error.

Description

Queries the window display affinity.

See also

Release notes

  • Version 15.3
    • Added Window.GetWindowDisplayAffinity and Window.SetWindowDisplayAffinity functions.

Blog Entries

This function checks for a license.

Created 22nd May 2025, last changed 30th May 2025


Window.GetWidth - Window.HasCloseButton