Method VirtualScreen():getPhysicalScreenFromWindow() Foundation

Get the physical screen a certain window is being displayed on.

Syntax
:getPhysicalScreenFromWindow( <oWindow>|<nHwnd> ) --> oScreen
Parameters
<oWindow>
A window object. The object must be derived from either the XbpCrt() or the XbpWindow() class.
<nHwnd>
Instead of a window object, a window handle used with the Win32 API can be passed in the <nHwnd> parameter.
Return

A PhysicalScreen object, or NIL in case of an error.

Description

The method :getPhysicalScreenFromWindow() returns a PhysicalScreen object representing the physical screen the specified window is currently being displayed on.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.