Previous: 4.3.2.2.9. WindMax To the Table of Contents Next: 4.3.2.3. CRT Unit Procedures and Functions
4.3.2.2.9. WindMax Table of Contents 4.3.2.3. CRT Unit Procedures and Functions

- 4.3.2.2.10. -
Table of Contents
4. Standard Units
4.3. MSDOS, OS/2, Win32 and Console Standard Units
4.3.2. CRT Unit Keyboard and monitor control routines
4.3.2.2. CRT Unit Variables
4.3.2.2.10. WindMin


4.3.2.2.10. WindMin


Targets: MS-DOS, OS/2, Win32 console


CRT Unit

Stores the screen coordinates of the current window.

Declaration:
var WindMin: Word;
Remarks:
These variables are set by calls to the Window procedure. WindMin defines the upper left corner. WindMax defines the lower right corner.

The X coordinate is stored in the low byte, and the Y coordinate is stored in the high byte.

For example, Lo(WindMin) produces the X coordinate of the left edge, and Hi(WindMax) produces the Y coordinate of the bottom edge.

The screen's upper left corner corresponds to (X,Y) = (0,0), but for coordinates sent to Window and GotoXY, the upper left corner is at (1,1).


Previous: 4.3.2.2.9. WindMax To the Table of Contents Next: 4.3.2.3. CRT Unit Procedures and Functions
4.3.2.2.9. WindMax Table of Contents 4.3.2.3. CRT Unit Procedures and Functions

- 4.3.2.2.10. -