qdosmsq:pe:vectors:chwin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

qdosmsq:pe:vectors:chwin [2009/01/30 10:52] (current)
norman created
Line 1: Line 1:
 +====== WM.CHWIN - Vector $40 ======
 +
 +To move a window or change its size.
 +
 +^Call Parameters^^Return Parameters^^
 +|  |  |  D1  |x,y pointer move|
 +|  |  |  D4  |0 or pt..wsiz|
 +|  |  | A0  |channel ID|
 +|  A4  |pointer to working definition| ​ A4  |preserved|
 +==== Errors ====
 +
 +|ORNG|Out of range|
 +==== Notes ====
 +
 +  *No other registers are used.
 +  *For a move, WM.CHWIN just moves the window and sets D4 to zero.
 +  *For a change size, WM.CHWIN sets the change in size in D1 and sets D4 to pt..wsiz (the window size event number - 6).
 +  *The change in size is measured as Xnew - Xold, Ynew - Yold. Thus a move downwards and to the right gives positive values for both x and y.
 +  *If the call to WM.CHWIN is incorporated in an action routine a move will not cause an exit from reading the pointer though a change size will.
 +
 +
  
  • qdosmsq/pe/vectors/chwin.txt
  • Last modified: 2009/01/30 10:52
  • by norman