Pretty simple code, is to first draw a memory Bitmap, drawing copied to the window DC.
Of bitmap button using double buffering technique does not Flash
Bitmap buttons
Realization of irregular buttons
Irregular active area
As well, frequently used features, such as irregular bitmap buttons are achieved.