|
-
August 13th, 1999, 03:08 PM
#1
Changing Control sizes with different Screen Resolution
Is there an easy way anyone knows of to change the Control sizes when the screen resolution is changed?
I designed my program in 1024X728, and just found out that it will be run on 800X600 and 640X480.
Thanks in advance
-
August 14th, 1999, 01:14 PM
#2
Re: Changing Control sizes with different Screen Resolution
Yes, I have just had to something similar. You want to do something like the following:
pStatic->GetWindowRect(rectWnd);
pStatic->SetWindowPos(NULL,0,0,rectWnd.Width(),rectWnd.Height() + 175, SWP_NOMOVE);
Hope this helps.
John Williams
-
August 16th, 1999, 01:18 PM
#3
Re: Changing Control sizes with different Screen Resolution
I don't suppose you know how to make all the static controls in my dialog, and all the text, resize as well?
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
|