Retrieves the ID of the Presentation Server GUI object that is capturing the mouse input (if any), along with the window handle (HWND) of the object.
This property is an @fm-delimited array containing the mouse capture information:
<1> The fully qualified name of a PS object capturing the mouse, or null if the mouse is not captured by a PS object.
<2> The window handle (HWND) of the object capturing the mouse. This could be a non-PS object, or it could be an "internal" control of a PS object like the editor in a ListBox.
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
N/A | Get | No | No | No |
This property is essentially a wrapper around the GetCapture Windows API function, so please refer to the documentation on the Microsoft website for further information.
// Get the current screen position of the cursor in pixels CaptureInfo = Get_Property( "SYSTEM", "MOUSECAPTURED" )
Common GUI MOUSECAPTURED property, LOSTCAPTURE event.