I use API LoadImage open a bitmap file:
hBmp = LoadImage(0, "c:\1.bmp", IMAGE_BITMAP,100 ,100, LR_LOADFROMFILE)
hDC = CreateCompatibleDC(hDestDC)
SelectObject hDC, hBmp
......
......
How to save hDC into a bitmap file? (of course i can BitBlt hDC into a picturebox, and use SavePicture to save bitmap file, but i dont want to use this method). Thanks.