Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsListMBS class.

WindowsListMBS.ActivateWindow(index as integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 19.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Activates the window.

This function does more than just show. if the window has been minimized, it will restore it. Also the window is moved to front and made the current window for keyboard input.

Sadly windows limits which windows can go to front, so some windows may not come to front unless they are clicked on.

As activation can be asynchronously, the window may activate later, e.g. after current method ends.

WindowsListMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The constructor which queries the values.

See also:

WindowsListMBS.Constructor(win as DesktopWindow)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 22.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The constructor which queries the values.

If win is not nil, we lookup child windows of this window.

See also:

WindowsListMBS.Constructor(win as window)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 16.4 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The constructor which queries the values.

If win is not nil, we lookup child windows of this window.

See also:

WindowsListMBS.Constructor(WindowHandle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 16.4 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The constructor which queries the values.

If WindowHandle is not zero, we lookup child windows of this window.

See also:

WindowsListMBS.Update

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Queries the values and returns true on success.

WindowsListMBS.WindowClassName(index as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 10.1 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns the window class name of the window with the given index.

For example "SciCalc" for the calc.exe main window.

This may send a message to the thread owning the window and if that one doesn't answer quickly, the call may wait for an answer.
You may want to skip your own process windows to not wait for your own threads.

Some examples using this method:

WindowsListMBS.WindowHandle(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The handle of the window with the given index.

This value is updated by the Constructor and the Update method.

WindowsListMBS.WindowHeight(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The height of the window with the given index.

This value is updated by the Constructor and the Update method.

WindowsListMBS.WindowIconic(index as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Whether the window with the given index is minimized.

Some examples using this method:

WindowsListMBS.WindowImageFileName(index as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns the path to the execuable file of the process which owns the window with the given index.

Requires Windows XP or newer.
Returns an empty string on any error.

Some examples using this method:

WindowsListMBS.WindowLeft(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The x position of the window with the given index.

This value is updated by the Constructor and the Update method.

WindowsListMBS.WindowProcessID(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The process ID of the process which ows the window with the given index.

This value is updated by the Constructor and the Update method.

Some examples using this method:

WindowsListMBS.WindowText(index as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns the title of the window with the given index.

This may send a message to the thread owning the window and if that one doesn't answer quickly, the call may wait for an answer.
You may want to skip your own process windows to not wait for your own threads.

Some examples using this method:

WindowsListMBS.WindowThreadHandle(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The thread handle of the window with the given index.

This value is updated by the Constructor and the Update method.

Some examples using this method:

WindowsListMBS.WindowTop(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The Y position of the window with the given index.

This value is updated by the Constructor and the Update method.

WindowsListMBS.WindowVisible(index as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Whether the window with the given index is visible.

Some examples using this method:

WindowsListMBS.WindowWidth(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The width of the window with the given index.

This value is updated by the Constructor and the Update method.

WindowsListMBS.WindowZoomed(index as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 8.5 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Whether the window with the given index is zoomed.

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...