Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

MoveWindow

Ask Intuition to move a window.

Declaration

Source position: intuition.pas line 3478

procedure MoveWindow(

  Window: PWindow;

  Dx: LongInt;

  Dy: LongInt

);

Arguments

Window

  

A pointer to the structure of the Window to be moved

Dx

  

How far to move the Window on the x-axis

Dy

  

How far to move the Window on the y-axis

Description

This routine sends a request to Intuition asking to move the window the specified distance. The delta (dX, dY) arguments describe how far to move the window along the respective axes.

Note that the window will not be moved immediately, but rather will be moved the next time Intuition receives an input event, which happens currently at a minimum rate of ten times per second, and a maximum of sixty times a second.

Interactions with other arbitration of Intuition data structures may defer this operation longer. You can use the IDCMP class IDCMP_CHANGEWINDOW to detect when this operation has completed.

Intuition now will do validity checking on the final position. To send absolute movements, or to move and size a window in one step, use ChangeWindowBox().

See also

ChangeWindowBox

  

Change window position and dimensions.

SizeWindow

  

Ask Intuition to size a window.

WindowToFront

  

Ask Intuition to bring a window to the front.

WindowToBack

  

Ask Intuition to send a window behind others.


Documentation generated on: 2021-07-30