Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have been developed an dialog based application using MFC and i have more then one controls.
When i maximized the dialog , i want to fit in the client area for all controls.


How to implemented this using


C#
void CMFC1Dlg::OnSize(UINT nType, int cx, int cy)
{
    CDialogEx::OnSize(nType, cx, cy);

}
Posted

1 solution

You have to move the controls manually.

There are a few "resize" libraries available on CodeProject

Have a look at http://www.codeproject.com/KB/dialog/#Control+Positioning[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900