8 replies
by root
by sl33te
it seems i can help you here sanjeev, but only one thing: before i can help you i just know these questions:
what version of VC++?
do you get any error messages?
how are you trying to create it?
answer these and i'll get back to you.
sl33te
d_korth@hotmail.com
There is no error message,
just it redraw the bitmap on the previous size.
I am creating the bitmap using CreateCompatibleBitmap(), i.e.,
first creating the memory device context, and then getting into a bitmap of the required size and then select that bitmap into the device context, i.e., using the following functions,
HDC memDC = CreateCompatibleDC ( hDC );
HBITMAP memBM =
CreateCompatibleBitmap( hDC );
SelectObject ( memDC, memBM );
Also, after creating this bitmap, using some scroll, pan & zoom calculation logic, I get the new bitmap size
then I recreate the bitmap using the above functions and it works fine for some time but at a certain size it fails to create the required size and the bitmap gets deteriorated.
by james_randy
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending