Hi all!
i'm trying to load an image into a dialog window, shrink it, then save that shrinked image back to the disk. i shrink it like this:
Problem is that the dlg area which dosen't occupy the shrinked image becomes black, and when i save the image the black part is also saved as the bmp. Howto save only the shrinked image, without the black area?Code:StretchBlt(g_hMemDC, 0, 0, SCREENWIDTH, SCREENHEIGHT,hdcDesk,0,0,SCREENWIDTH*2,SCREENHEIGHT*2,SRCCOPY);
Thanx for any help.