Virtual windows can be created in the Designer. The function dl_wnget() reads either basic or virtual windows from the library, and allocates a memory screen of the appropriate size.
If you wish to allow the user to scroll through the contents of the virtual window, you must:
To process a window, use the window process function, wn_proc():
|
wn_proc() calls the processing function for the window. The processing function places the window on the screen, if it is not already up. It then passes control to the user. If the window is a basic window, the processing function simply waits for the user to press any key, and then returns. If the window is virtual, or if it has a memory file that can be scrolled, the processing function allows the user to browse the contents of the window's buffer. When the user presses the Quit key or the Exit key, the processing function takes the window down if the window was not up when wn_proc() was called.