Click here to Skip to main content
15,884,425 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
Greetings!!!

How to create a composite control in MFC. I have seen this option in ATL but couldnt find anything similar in MFC

Basically I want to create a control having a dialog. This dialog box will contain button and other child controls. I want to create this dialog using the resource editor.

Thanks in advance.

Regards.
Posted

1 solution

You just have to derive your own classes based on the MFC controls/dialogs. They're object oriented, so adding controls within a control is really nothing more than adding an object within another object.
 
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