Graphics in a Dialog Field

Graphics output can be directed to a variety of target drawables including windows, memory bitmaps, dialog fields and memory metafiles. This image illustrates graphics output to a field in a dialog. The image shows a 3D model rendered via OpenGL, but any type of 2D or 3D graphics can be routed to a dialog field.

The picture below shows the same program running on Linux.