title: How do I create a normal win32 edit control?
body: <p>I'm trying to create an edit control with the regular 3D border around it (in the classic windows style, anyway), but it just has a 1px black border around it. Here is my <code>CreateWindowEx</code> call:</p>
  
  <pre><code>return CreateWindowEx(0, "EDIT", "E:\\bk",
                        WS_VISIBLE | WS_CHILD | WS_BORDER | ES_LEFT,
                        87, 81, 150, 17,
                        main_window.hwnd,
                        (HMENU)5, hInstance, NULL);
  </code></pre>
  
  <p>If I exclude <code>WS_BORDER</code> then it's just a white box. Any ideas on what's wrong here?</p>
  
  <h2>Update</h2>
  
  <p><code>WS_EX_CLIENTEDGE</code> did the trick.
  I don't know anything about manifest files, or how to make the window use the more modern windows themes (XP, for example), instead of the chunky 3D borders. But, when I do learn all that, will <code>WS_EX_CLIENTEDGE</code> make them use those themes instead, or will it enforce the 3D look?</p>