comctl32: SysDateTimePick32 control add Alt+down hot key like windows
Dmitry Timoshkov
dmitry at baikal.ru
Fri Feb 13 05:07:41 CST 2015
"Changhui Liu" <liuchanghui at linuxdeepin.com> wrote:
> + case WM_SYSKEYDOWN:
> + if (wParam == VK_DOWN)
> + {
> + POINT pt;
> + RECT rect;
> + GetClientRect(hwnd, &rect);
> + pt.x = rect.right - GetSystemMetrics(SM_CXVSCROLL)/2;
> + pt.y = rect.top + GetSystemMetrics(SM_CYHSCROLL)/2;
> +
> + return DATETIME_LButtonDown (infoPtr, (SHORT)pt.x, (SHORT)pt.y);
I wouldn't be surprised if the control just does SendMessage with an
appropriate message to itself. Is it possible to add a message test?
> + }
> +
Did you miss a 'break;' or a fall through is intentiional? In the latter
case please add a proper comment.
--
Dmitry.
More information about the wine-devel
mailing list