title: Set tooltip display timer
body: <p>I have been bothered by being unable to set a tooltip to display more than 33 seconds. My tooltip is created when I create a tab control with <code>TCS_TOOLTIPS</code>.</p>
  
  <p>But one day, I found I can use the following code in the (subclassed) window procedure of my tooltip:</p>
  
  <pre><code>if (message == WM_TIMER &amp;&amp; wParam == 4) {
      static int counter = 0;
      counter++;
      if (counter != 60)
          return 1;
      else
          counter = 0;
  }
  
  return CallWindowProc(DefWndProcTabTooltip, hwnd, message, wParam, lParam);
  </code></pre>
  
  <p>Combine the code below:</p>
  
  <pre><code>    SendMessage(hwndTooltip, TTM_SETDELAYTIME, TTDT_AUTOPOP, MAKELPARAM((1000),(0)));
  </code></pre>
  
  <p>then the tooltip will be displayed for 60 seconds.</p>
  
  <p>The condition <code>wParam == 4</code> means that the event of that WM_TIMER message is <code>The display timeout is achieved, and the tooltip is going to be hide</code>.</p>
  
  <p>Although this is what I want to do, I got a question:</p>
  
  <p>Is the test <code>wParam == 4</code> is the correct condition to test? What I mean is: the event id of the event <code>The display timeout is achieved...</code> is always 4? Is there a constant, say (...TOOLTIP)_TIMEOUTEXPIRE that one should (can) use.</p>