不在资源文件里安插对话框资源,能否创建对话框

不在资源文件里插入对话框资源,能否创建对话框?
怎么创建?
因为CDialog::Create()函数的参数总是需要资源ID,可是我没有资源,怎么创建??

------解决方案--------------------
CreateIndirect
 Creates a modeless dialog box from a dialog-box template in memory (not resource-based).
 
InitModalIndirect
 Creates a modal dialog box from a dialog-box template in memory (not resource-based). The parameters are stored until the function DoModal is called.