While working on a company project came thru this weird limitation of Stretchblt API.
Actually i was working on some huge images of the order of 3500 * 2500 pixels with 24 bit depth.My display card settings were 1280 * 1024 32 bit ( yes,it matters ! ) on winXP.
Now, when ever i try to zoom the complete bitmap with a scaling factor of greater than 1.2 StretchBlt returns false.
Seems,i exceed the selectors limit for StretchBlt.
PS: I found ,StretchBlt is quite slower while working with huge bitmaps or downsampling them.