L_BM_SETBITMAPCLIP
Send this message to limit the part of the bitmap that is repainted.
When you send this message, specifying a RECT structure, only the part of the bitmap that is in the rectangle and visible in the window is repainted.
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 |
Points to the RECT structure that specifies the area of the bitmap to repaint. The coordinates of the rectangle are relative to the bitmap origin. |
Returns
SUCCESS |
Function was successful. |
< 0 |
An error occurred. Refer to Return Codes. |