<div><span style="line-height: 1.5;">Superseded patch 109085</span></div><div>http://source.winehq.org/patches/data/109085</div><div><br></div><div>Change log:</div><div>1, Pass test on all Windows.</div><div><pre style="line-height: normal;">2, Add DTN_DROPDOWN and DTN_CLOSEUP <span style="font-family: Verdana;">notification test. </span></pre><pre style="line-height: normal;"><span style="font-family: Verdana;">3,</span></pre><pre style="line-height: normal;">>><i> +    case WM_SYSKEYDOWN:
</i>>><i> +        if (wParam == VK_DOWN)
</i>>><i> +        {
</i>>><i> +            POINT pt;
</i>>><i> +            RECT rect;
</i>>><i> +            GetClientRect(hwnd, &rect);
</i>>><i> +            pt.x = rect.right - GetSystemMetrics(SM_CXVSCROLL)/2;
</i>>><i> +            pt.y = rect.top + GetSystemMetrics(SM_CYHSCROLL)/2;
</i>>><i> +
</i>>><i> +            return DATETIME_LButtonDown (infoPtr, (SHORT)pt.x, (SHORT)pt.y);
</i>>><i> +        }
</i>>><i> +
</i>>>
>>If it really works this way you should just make it drop directly, 
>without faking click point coordinates.</pre><pre style="line-height: normal;">Because most of code of the directly implement are same as DATETIME_LButtonDown, 
and too many repeat code looks bad.
So faking click point coordinates can reuse code.</pre></div><div><sign signid="0"><div style="color:#909090;font-family:Arial Narrow;font-size:12px"><br><br><br><br>------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><div>Regards,</div><div>Changhui.</div>
</div></sign></div><div> </div><div><includetail><!--<![endif]--></includetail></div>