You can pass control to the user to view and scroll the contents of a memory screen by calling wn_browse(). By simply calling wn_browse(), you set the window on the video screen, display the memory screen in the window, and pass control to the user. To use wn_browse(), you must #include vv_wnkt.h in your program in order to link in the viewing event table.
The call for wn_browse() is as follows:
|
The viewing event table, VIEWETP, is in use during memory screen browsing. As with all event table processing, the system event table (SYSETP) is searched first. For a complete list of event tables, see the Function Reference.
As with any event table, you can reassign the functions to different keys and install your own functions in the event table. For more information about event tables, see Chapter 37, "How Event Processing Works."
You can also use the function wn_proc() to pass control to the user to view and scroll the contents of a memory screen. To use wn_proc(), you must #include vv_wnkt.h in your program in order to link in the viewing event table.
The call for wn_proc() is as follows:
|
wn_proc() calls the processing function that was associated with the window when it was created. It can be used to view and scroll basic windows, virtual windows, and windows that use a memory file for the buffer. For virtual windows, the processing function assigned to the window allows the user to scroll through the memory screen.