lol ok, I sort of get the point, but I'm still getting confused This is the psuedo-code:
Code:
create an HDC called hdcImage, compatible with the screen
select a bitmap (that is passed as an argument) into it
StretchBlt() it onto another HDC
delete it
My question is, should it be this instead:
Code:
create an HDC called hdcImage, compatible with the screen
select a bitmap (that is passed as an argument) into it,
--> and store the returned bitmap in "temp"
StretchBlt() it onto another HDC
--> select "temp" back in
delete hdcImage
Are the pointed-to lines needed? (i.e. otherwise would the original bitmap be deleted with it or something similarly sinister?)