This function moves the specified rectangle by the specified offsets.
BOOL OffsetRect( RECT * lprc, int dx, int dy )
Returns TRUE for success.
EX1
void OffsetRect_Ex1() { RECT rect ; rect.left=20; rect.top=20; rect.right=60; rect.bottom=60; if(OffsetRect(&rect,10,-10)) { printf("now the rect offset to :"); printf("left:%d top:%d right:%d bottom:%d\n",rect.left,rect.top,rect.right,rect.bottom);; } }
InflateRect
origin.h