Version

Move Method (WinDesktopAlertWindowReplayServer)

Replay action for moving the DesktopAlertWindow to a specified screen location
Syntax
'Declaration
 
Public Sub Move( _
   ByVal newScreenPointX As System.Integer, _
   ByVal newScreenPointY As System.Integer _
) 
public void Move( 
   System.int newScreenPointX,
   System.int newScreenPointY
)

Parameters

newScreenPointX
X Coordinate for the new screen location
newScreenPointY
Y Coordinate for the new screen location
Remarks

Moves the desktop alert window by mousing down on the window, dragging it until the location of the window matchs the X,Y coordinates supplied, then releases the mouse button. Will report a replay error if the AllowMove of the DesktopAlertWindow evaluates to false, or if there was an error during the drag operation, typically this will happen if the point supplied is unreachable.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also