Environment: Visual C++ V6.0
This dialog is derived from CDialog. A bitmap is loaded from a file and a region created based on a transparent colour. The bitmap is then used to paint the dialog. This demo also demonstrates dragging the dialog by clicking anywhere on a visible portion of the dialog, timer events, and a button on the transparent dialog.
It is perfect to be used as a splash screen or similar application or as a skeleton application for non-rectangular windows that are shaped by a supplied bitmap.