Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Window Painting and Updating
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
The grabber receives requests to paint or update the window of a non-Windows
application whenever a change in the video context of the corresponding VM
occurs, such as when the application writes to the screen or the user
changes the size of the window.
 
If a non-Windows application writes to the screen, the virtual-display
device sends WINOLDAP a screen update message and WINOLDAP calls the
UpdateScreen functions in the grabber to update the window. The grabber
calls the virtual-display device to retrieve the current contents of the VM
screen, then places the contents in the application's window.
 
If a user resizes a window containing a non-Windows application, Windows
sends WINOLDAP a paint message, and WINOLDAP calls the PaintScreen function
in the grabber to paint the window. Again, the grabber calls the
virtual-display device to retrieve the screen contents, and places the
contents in the window.
 
 
                                      ♦