projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[STOBJECT] Use double click time for the single click timers instead of a fixed timeout.
[reactos.git]
/
dll
/
shellext
/
stobject
/
volume.cpp
diff --git
a/dll/shellext/stobject/volume.cpp
b/dll/shellext/stobject/volume.cpp
index
ba0f905
..
931cd2e
100644
(file)
--- a/
dll/shellext/stobject/volume.cpp
+++ b/
dll/shellext/stobject/volume.cpp
@@
-300,7
+300,7
@@
HRESULT STDMETHODCALLTYPE Volume_Message(_In_ CSysTray * pSysTray, UINT uMsg, WP
switch (lParam)
{
case WM_LBUTTONDOWN:
- SetTimer(pSysTray->GetHWnd(), VOLUME_TIMER_ID,
500
, NULL);
+ SetTimer(pSysTray->GetHWnd(), VOLUME_TIMER_ID,
GetDoubleClickTime()
, NULL);
break;
case WM_LBUTTONUP: