Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsListMBS.Focus as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Windows MBS Win Plugin 13.5 No Yes No Yes, Windows only No
Function: Retrieves the handle to the window that has the keyboard focus, if the window is attached to the calling thread's message queue.
Notes: If the calling thread's message queue does not have an associated window with the keyboard focus, the return value is 0.

Feedback, Comments & Corrections

WindowsListMBS.ForegroundWindow as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Windows MBS Win Plugin 13.5 No Yes No Yes, Windows only No
Function: Retrieves a handle to the foreground window (the window with which the user is currently working).
Notes:
The system assigns a slightly higher priority to the thread that creates the foreground window than it does to other threads.
The return value is a handle to the foreground window. The foreground window can be 0 in certain circumstances, such as when a window is losing activation.

Feedback, Comments & Corrections

WindowsListMBS.WindowClassNameFromHandle(Handle as Integer) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Windows MBS Win Plugin 15.1 No Yes No Yes, Windows only No
Function: Returns the window class name of the window with the given handle.
Notes: For example "SciCalc" for the calc.exe main window.

Feedback, Comments & Corrections

WindowsListMBS.WindowTextFromHandle(Handle as Integer) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Windows MBS Win Plugin 15.1 No Yes No Yes, Windows only No
Function: Returns the title of the window with the given handle.

Feedback, Comments & Corrections

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





Links
MBS FileMaker tutorial videos