The dialog class goes under the sneaky name WC_DIALOG

Raymond Chen

An anonymous commenter wanted to know how to create a dialog box with CreateWindow. The window class for dialog boxes is WC_DIALOG. I’m not quite sure why anybody would want to create a dialog box this way, but there you have it.