RAD Studio VCL Reference
|
Returns the monitor where a specified point is located.
function MonitorFromPoint(const Point: TPoint; MonitorDefault: TMonitorDefaultTo = mdNearest): TMonitor;
__fastcall TMonitor MonitorFromPoint(const TPoint Point, TMonitorDefaultTo MonitorDefault = mdNearest);
Call MonitorFromPoint determine the monitor where a specified point is located.
Point is the coordinates of the point to locate. It is in pixels relative to the upper-left corner of the primary monitor.
MonitorDefault indicates how to select a monitor when the point does not fall clearly on a single monitor.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|