Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.04 KB

File metadata and controls

46 lines (30 loc) · 1.04 KB

Home

Function name : SetDoubleClickTime

Group: Mouse Input - Library: user32


Sets the double-click time for the mouse


Code examples:

Setting and retrieving the double-click time for the mouse

Declaration:

BOOL SetDoubleClickTime(
  UINT uInterval   // double-click interval
);  

FoxPro declaration:

DECLARE INTEGER SetDoubleClickTime IN user32 INTEGER wCount  

Parameters:

uInterval [in] Specifies the number of milliseconds that may occur between the first and second clicks


Return value:

If the function succeeds, the return value is nonzero


Comments:

Regular value for the DoubleClick time is 500 milliseconds. By setting this parameter to, say, 50 millisecond you can virtually disable the double click, because none can do it in such a short time.