mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:11:55 +00:00
[STOBJECT] Use double click time for the single click timers instead of a fixed timeout.
This commit is contained in:
parent
da8a41b97b
commit
282b4397e0
3 changed files with 3 additions and 3 deletions
|
@ -388,7 +388,7 @@ HRESULT STDMETHODCALLTYPE Power_Message(_In_ CSysTray * pSysTray, UINT uMsg, WPA
|
|||
switch (lParam)
|
||||
{
|
||||
case WM_LBUTTONDOWN:
|
||||
SetTimer(pSysTray->GetHWnd(), POWER_TIMER_ID, 500, NULL);
|
||||
SetTimer(pSysTray->GetHWnd(), POWER_TIMER_ID, GetDoubleClickTime(), NULL);
|
||||
break;
|
||||
|
||||
case WM_LBUTTONUP:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue