Ask Intuition to move a window.
Source position: intuition.pas line 4128
procedure MoveWindow( |
window: pWindow; |
dx: LongInt; |
dy: LongInt |
); |
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 |
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().
|
Change window position and dimensions. |
|
|
Ask Intuition to size a window. |
|
|
Ask Intuition to bring a window to the front. |
|
|
Ask Intuition to send a window behind others. |