Platform SDK: DirectX

Tutorial 5: Dynamically Modifying Palettes

[Visual Basic]

The information in this section pertains only to applications written in C and C++. See DirectDraw Visual Basic Tutorials.

[C++]

The sample described in this tutorial (DDEx5) is a modification of the sample described in Tutorial 4 (DDEx4) example. DDEx5 demonstrates how to dynamically change the palette entries while an application is running. The new functionality demonstrated in DDEx5 is shown in the following steps.