|
-
November 3rd, 2004, 06:17 PM
#1
Problem resizing control in dialog!
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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|