User:Lucas Brooks/Researches/Windows 1.x Overlapping Windows

Insert the following code into the beginning (after function prologue) of the  function of the Windows User Interface module  to make applications display overlapping windows in Windows 1.x.

The above 8086 Assembly instructions are equivalent to the following C code:

This works for all versions of Windows 1.x since Windows 1.0 Alpha Release, with the following limitations:
 * Overlapping windows in Windows 1.0 Alpha Release cannot be brought to front, meaning newer windows will always be on top of older windows.
 * Overlapping windows cannot be minimized or maximized (applies to all versions of Windows 1.0).