CRT Documentation: Reference

TWindCoord

[This type does not have a corresponding DOS type.]

Used when accessing the coordinates contained within WindMin and WindMax.

TWindCoord = packed record
  case integer of
    0: (Value: longword);
    1: (X, Y: word);
end;

Fields

Value
Full 32-bit value (same as accessing the variable directly)
X
Column
Y
Row

Remarks

This record declaration can be used to typecast WindMin and WindMax and retrieve the X and Y values contained within (similar to how Hi and Lo were used in legacy code to retrieve these same values, Lo and Hi no longer work and you must typecast the variables if you want access to those same values).

See Also

Crt Overview, WindMin, WindMax