MULTIBOXING COMMANDS

MoveWinRel

Moves a DAOC window a specified distance. The name means “move window relative.”

Syntax

MoveWinRel ( x y )

Parameters

X is the distance in pixels to move horizontally.

Y is the distance in pixels to move vertically.

Example

Hotkey ( Shift Ctrl Numpad9 )
{
   Sendto ( Daoc1 )
   {
      MoveWinRel ( -40 80 )
   }
}

Remarks

Negative numbers move left and up; positive numbers move right and down.

It calls the operating system function SetWindowPos with the argument SWP_NOACTIVATE | SWP_NOREDRAW | SWP_NOSIZE | SWP_NOZORDER.

Related

MoveWin

This page was first published on November 3, 2017 and last modified on November 3, 2017