Implemented processing for actions: SPI_GET/SETGRIDGRANULARITY,
SPI_GET/SETICONTITLEWRAP, SPI_GET/SETMENUDROPALIGNMENT,
SPI_GET/SETDOUBLECLKWIDTH, SPI_GET/SETDOUBLECLKHEIGHT,
SPI_GET/SETDOUBLECLICKTIME.
diff --git a/windows/message.c b/windows/message.c
index fdd7981..517751c 100644
--- a/windows/message.c
+++ b/windows/message.c
@@ -38,7 +38,6 @@
#define WM_NCMOUSELAST WM_NCMBUTTONDBLCLK
static BYTE QueueKeyStateTable[256];
-static UINT doubleClickSpeed = 452;
/***********************************************************************
@@ -407,7 +406,7 @@
{
if ((msg->message == clk_msg.message) &&
(msg->hwnd == clk_msg.hwnd) &&
- (msg->time - clk_msg.time < doubleClickSpeed) &&
+ (msg->time - clk_msg.time < GetDoubleClickTime()) &&
(abs(msg->pt.x - clk_msg.pt.x) < GetSystemMetrics(SM_CXDOUBLECLK)/2) &&
(abs(msg->pt.y - clk_msg.pt.y) < GetSystemMetrics(SM_CYDOUBLECLK)/2))
{
@@ -651,25 +650,6 @@
}
-/**********************************************************************
- * SetDoubleClickTime (USER32.@)
- */
-BOOL WINAPI SetDoubleClickTime( UINT interval )
-{
- doubleClickSpeed = interval ? interval : 500;
- return TRUE;
-}
-
-
-/**********************************************************************
- * GetDoubleClickTime (USER32.@)
- */
-UINT WINAPI GetDoubleClickTime(void)
-{
- return doubleClickSpeed;
-}
-
-
/***********************************************************************
* WaitMessage (USER.112) Suspend thread pending messages
* WaitMessage (USER32.@) Suspend thread pending messages