Dynamically change size of dialog box - MFC
I am using a "Dialog" in my MFC project. I开发者_如何学Python populate this dialog dynamically with edit controls and static text controls. I want this dialog to change the size dynamically based on the number of controls.
Eg: If I have 2 edit controls, the length of the dialog will be comparatively smaller than than with 5 edit controls.
How could I achieve this?
精彩评论