MoveDocwin

All Editions  image\bltlrgss.gif Related Transactions  image\bltlrgss.gif Example

The MoveDocwin transaction moves and resizes the specified document window. To set how all open document windows are displayed (tiled, cascaded, and so on), use ArrangeDocwins.

Type XTYP_EXECUTE

Syntax [MoveDocwin(docwinID, x, y, dx, dy)]

Parameter

Data type

Values

Meaning

docwinID

DWORD

0 | docwinID

active | specific

x, y

WORDs

upper-left corner, relative to the upper-left corner of the Imagenation window client area

dx

WORD

100 or more

width of window in pixels

dy

WORD

100 or more

height of window in pixels

Remarks

This transaction cannot be used on external document windows.

See also

Displaying document windows