"Changhui Liu" liuchanghui@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.