L_BM_RESAMPLE

Send this message to change the size of an L_BITMAPCLASS window's bitmap, using interpolation and averaging to produce a higher-quality image than is achieved with other resizing functions.

Parameter

Meaning

wParam

Specifies whether the window should be redrawn to reflect the image changes. Use 1 to redraw the window, or 0 not to redraw it.

lParam

The low order of the lParam parameter should contain the new width. The high order of the lParam parameter should contain the new height.

 

Returns

SUCCESS

Function was successful.

< 0

An error occurred. Refer to Return Codes.