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
Printable View
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
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
I don't suppose you know how to make all the static controls in my dialog, and all the text, resize as well?