when i resize my dialog(maximize),the edit control looks very small,is there any method to change the size of these controls when the dialog's size is changed?
Printable View
when i resize my dialog(maximize),the edit control looks very small,is there any method to change the size of these controls when the dialog's size is changed?
In the OnSize(...) of Dialog, get the CEdit (or whatever window), either through GetDlgItem(...) or through control variable and use MoveWindow(...) function to resize the Edit or whatever window to whatever new size you want.
Look in the CodeGuru articles for many answers to this question.
Take a look at the following article...
However there are other articles too, right? I think lugangxyz should look at all of them.Quote:
thank all of you