Stephen.Bate@Score.Stanford.EDU:GUFFEY@A.ISI.EDU (10/21/87)
As far as I know, one cannot have multiple active windows at the same time. However, you mentioned you wanted to read keboard input from one window and have the output go to another window. It is not necessary for both (or either) window to be active to do this. The keyboard input doesn't go to the active window. It can be read using the event manager even if no window is displayed. To write to an inactive window is a little trickier. The update function should be executed using the same method as is normally used when handling the GEM REDRAW message. The rectangle list representing the exposed portions of the window is traversed, where each rectangle defines a clipping region. Depending on how you have your event handler set up, it could be as easy as sending a WM_REDRAW message to the inactive window. Steve Bate McDonnell Aircraft Co. Artificial Intelligence Technology -------