This program shows how to write the contents of the user interface to a section of memory called "the bitmap". Objects written to the bitmap persist over time, that is, those objects are not overwritten by OnPaint with each successive call to OnPaint. This program will show how to define the bitmap in memory, how to write objects onto the bitmap, and how to copy the entire bitmap to the UI.
Program completed: 2017-Nov-08
Date of recent testing: 2023-Aug-05
Test platform: Xubuntu 2022.04.