Method VirtualScreen():getPhysicalScreenFromWindow() Foundation

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

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

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


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


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.