guides:oi10:presentation_server:mousecaptured_property_system

MOUSECAPTURED property (System)

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.

DevelopmentRuntimeIndexedScaledSynthetic
N/AGetNoNoNo

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.

  • guides/oi10/presentation_server/mousecaptured_property_system.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1