Hi Gurus!
I've a very weird problem! I want to resize a picture control inside a dialog. I designed the dialog including its controls.
In the program I wrote the following lines:

// Get window size
CRect rect;
m_preview.GetWindowRect(&rect);
m_preview.MoveWindow(&rect);

It should show the control exactly the same as I placed it inside the dialog.....but it moves the picture control a few pixels down.
Any ideas why is this happening?
Thanks!