case WM_PAINT:
{
PAINTSTRUCT ps;
HDC winGraphics = BeginPaint(hwnd, &ps);
int imgIndex;
for (imgIndex = 0; imgIndex < NUMBER_OF_IMAGES; imgIndex++)
{
HBITMAP imageToDraw = _images[imgIndex];
HDC bitmapDC = CreateCompatibleDC(winGraphics);
SelectObject(bitmapDC, imageToDraw);
BITMAP image;
GetObject(imageToDraw, sizeof(BITMAP), &image);
BitBlt(winGraphics, 0, 0, image.bmWidth, image.bmHeight, bitmapDC, 0, 0, SRCCOPY);
DeleteDC(bitmapDC);