This sample demonstarates how to create a bitmap, create a DC in MFC VC++, and then how to tell the DC to draw the bitmap .