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 |
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 8.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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 |
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 |
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 |
If WindowHandle is not zero, we lookup child windows of this window.
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 8.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
The items on this page are in the following plugins: MBS Win Plugin.