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: