This function is identical to the WinLoadDlg call except that it creates a dialog window from pdlgt in memory, rather than a dialog template in a resource file.
This function should not be used while the pointing device capture is set (see WinSetCapture).