title: How to make tab key press work with win32 window that is not a dialog
body: <p>I've created several controls in my window in the WM_CREATE message handler and I want to allow using the tab key to advance the focus through the set of controls from one to the next. </p>
  
  <p>The control creation is like this:</p>
  
  <pre><code>case WM_CREATE:
  {
      CreateWindowA("button", "Refresh Listview",
                    BS_MULTILINE | WS_CHILD | WS_VISIBLE, 10, 10, 70, 50,
                    hwnd, (HMENU)IDC_REFRESHLW, g_hInst, NULL);
      break;
  }
  </code></pre>
  
  <p>When I press the tab key to change the focus to another control in the window it does nothing. Do I have to initialize it somehow?</p>
  
  <p>I noticed if I use a dialog, it already automatically allows using the tab key and the tab order is the order in which you create the controls in the .rc file. </p>
  
  <p>But I don't want a dialog!</p>