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,
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.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Bitmap Failure