L_BM_ROTATE

Send this message to rotate an L_BITMAPCLASS window's bitmap.

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 angle (in degrees) to rotate the image. A positive value will rotate clockwise and a negative value will rotate the image counter-clockwise. If the high order word is nonzero, then the window is resized (if needed) to contain the new image.

Returns

SUCCESS

Function was successful.

< 0

An error occurred. Refer to Return Codes.