Home > Windows API > Set/Get mouse double click time

Set/Get mouse double click time

  1. To set double click time use SetDoubleClickTime
    • Set time to zero to switch to default time of 500 milliseconds
      E.g.

      // If call succeeds return value is non zero
      VERIFY( SetDoubleClickTime( 200 )); // Set double click time to 200 milliseconds
  2. To get double click time use GetDoubleClickTime
    • Returns double click time in milliseconds
      E.g.

      const UINT uDblClkTime = GetDoubleClickTime();
  1. No comments yet.
  1. No trackbacks yet.

Leave a comment