DialogBoxIndirectParamTo create modeless dialog boxes use:-
CreateDialogIndirectParamYou create dynamic dialog boxes at runtime by building a dialog template (DLGTEMPLATEEX + optional FONTINFOEX + DLGITEMTEMPLATEEX structures) in memory and passing it to one of the functions above.