How Do I Load Controls Specified on a Dialog Resource?
To load controls specified as part of a dialog resource, you can create a class based on the Dialog, Composite Control, or Light Composite Control object types provided by the ATL Control Wizard, or you can call the AtlAxCreateDialog/AtlAxDialogBox APIs. Each control on the dialog box will be automatically hosted in its own "AtlAxWin80" window.