title: How to get BS_DEFPUSHBUTTON to work?
body: <p>My button has these styles:</p>
  
  <pre><code>WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON
  </code></pre>
  
  <p>it creates and lights up properly, but in my edit control, when i press ENTER, it does nothing! </p>
  
  <p>Heres the styles of my edit control:</p>
  
  <pre><code>WS_CHILD | WS_VISIBLE | ES_AUTOHSCROLL | WS_TABSTOP
  </code></pre>
  
  <p>I am not using a dialog, i have created my windows using CreateWindow() and i have handled tab order in the message loop:</p>
  
  <pre><code>MSG msg;
  while (GetMessage (&amp;msg, NULL, 0, 0))
  {
      if (!IsDialogMessage(hActiveWindow, &amp;msg))
      {
          TranslateMessage(&amp;msg);
          DispatchMessage(&amp;msg);
      }
  }
  </code></pre>
  
  <p>The "hActiveWindow" is a handle to the window that the user has currently active. tabbing works but i have a feeling this is messing wiht the DEFPUSHBUTTON.</p>
  
  <p>any help?</p>