Hi,

Is there any differences using one or another?

Code:
DialogBox(hInst, MAKEINTRESOURCE(IDD_POPUP), hWnd, (DLGPROC)procPopup);

ShowWindow(
		CreateDialog(hInst, MAKEINTRESOURCE(IDD_POPUP), hWnd, (DLGPROC)procPopup),
		SW_SHOW
);
Should one be preferred to another?

thanks