TAG:
//jacky, stretch the image /* BITMAPINFO bitmapInfo; ::ZeroMemory(&bitmapInfo,sizeof(BITMAPINFO)); memcpy(&bitmapInfo, m_pShowBuffer + sizeof(BITMAPFILEHEADER), sizeof(BITMAPINFO)); ::StretchDIBits(m_pDC->m_hDC, 0, 0, m_rcBounds.Width(), m_rcBounds.Height(), 0, 0, nImageWidth, nImageHeight, m_pShowBuffer, &bitmapInfo, DIB_RGB_COLORS, SRCCOPY); */ (iwgh) |