compositing two HBITMAPs
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
I have two bitmaps. How do I stretchblt one into the other?
-
I have two bitmaps. How do I stretchblt one into the other?
I am not sure, but this can be OS/display driver dependant: Create 2 memory DCs. Select each bitmap in his corresponding DC, then do the stretchblt between the DCs. The bitmap in the target DC will be modified. You can the bitblt the taget DC contents into another DC (like the DC of a control/window) or unselect the bitmaps, and do what you wish with the modified one.