The LazyBoy Library Manual - WindowLoad

Part of the CRT group.

%imacro WindowLoad 1
Prefers: ES:DI

Load the contents of a memory location to the current window. The window may be in a differrent location. But, it must have the same height and width as the window that was originally saved. This does restore the cursor postion, shape or visibilty. It only restores the text and color attributes of the window.

Example:

    WindowLoad  es:di      ; Restore the window contents from memory location es:di
    WindowLoad  bx         ; Restore the window contents from memory location ds:bx
    WindowLoad  ORG_SCRN   ; Restore the window contents from memory location cs:ORG_SCRN

See also: WindowSave, WindowSize and Window.