title: Windows API dialogs without using resource files
body: <p>I'm trying to create a dialog box using C++ and the windows API, but I don't want the dialog defined in a resource file. I can't find anything good on this on the web, and none of the examples I've read seem to define the dialog programmatically.</p>
  
  <p>How can I do this?</p>
  
  <p>A simple example is fine. I'm not doing anything complicated with it yet.</p>