On 10/17/2010 01:59 AM, Krzysztof Nowicki wrote: > Doing a memcpy to a local rectangle seems a morenatural way to do it Not really. Doing RECT = RECT is the natural way to do it. Don't use memcpy to copy one structure to another structure of the same type. Vitaliy.