StretchBlt
The StretchBlt function copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary. The system stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
BOOL StretchBlt( HDC hdcDest, // handle to destination DC int nXOriginDest, // x-coord of destination upper-left corner int nYOriginDest, // y-coord of destination upper-left corner int nWidthDest, // width of destination rectangle int nHeightDest, // height of destination rectangle HDC hdcSrc, // handle to source DC int nXOriginSrc, // x-coord of source upper-left corner int nYOriginSrc, // y-coord of source upper-left corner int nWidthSrc, // width of source rectangle int nHeightSrc, // height of source rectangle DWORD dwRop // raster operation code );
----- Original Message -----From: Suyono H. YapharSent: Tuesday, January 27, 2004 5:38 AMSubject: Re: TankInteriorControlPanel(English)Hi Yves:Most of the players use: Options -> Size -> Medium. ('Big' is too big for my screen and the 'Control' image has not enough room, so I have never used 'Big' size option. Sometimes, I used 'Small' size option when I opened two LT programs: one in editor mode to copy and rotate [or other operations to] some objects from the original one.)
The LTG is best (fits properly) in the 'Medium' size option, but the 'Opening' image is best in the 'Small' size option. Meanwhile, the 'Control' image is always in the same size. Is there any trick (that I don't know) to make the 'Opening' image looks as good as other images on the board when I'm using the 'Medium' size option?
Thank you.
Regards,
Suyono