PaintDither example for C++ Builder
This example turns on error diffusion and redisplays the bitmap.
Lead1->PaintDither = pdDiffusion; Lead1->ForceRepaint();