SetPixel vista bug
March 7th, 2012I was running one of my screen savers and came across a funny bug in vista’s version of SetPixel. When Aero is not used as a appearance setting. SetPixel can only draw on certain areas of the screen. Here is an example with the appearance setting set to Vista Basic:

This program gets a pixel from the current desktop, converts it to black and white then sets it at the same location.
Here is a screen shot running with Vista Aero as the appearance setting:

The black band on the right is now gone! Does Windows have different implementations of SetPixel?
Here is an example program that demonstrates this behavior.
More information on this bug can be found here.
