Click here to Skip to main content
16,017,137 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I am using c++ with MFC classes,
the problem is that i want to display modeless dialog box inside the main frame.
when the dialog box is maximized it goes out of the main frame it hides the main frame behind it should come inside the container
Can you help me out for this
thanks for the reply
regards,
Sheru
Posted

1 solution

You need to position it manually based on the size of your form. Maximizing it will maximize it, not fit it to your form.
 
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