Click to See Complete Forum and Search --> : Resize and redraw buttons.


TonyHat
August 4th, 1999, 06:49 AM
I am resizing an owner-draw button with a bitmap on it, but the result is the same button with no bitmap.I thing the problem is that the bitmap i create with stretchblt hasn't the appropriate coordinates?Am I right?
Any suggestions of what is happening?
Thanx.

hdq
August 4th, 1999, 07:55 AM
Perhaps,there's something wrong in call StretchBlt().There're two parameters separately representing the width and height of source bitmap.If one of these two parameters is larger than the practical width or height of the source bitmap you use,stretchblt()will do nothing.But it can do if less.