Also fixes VK_HOME and VK_END. CORE-9281
UINT vk = (UINT)wParam; // virtual key
switch (vk)
{
- case VK_HOME: case VK_END:
case VK_UP: case VK_DOWN:
case VK_PRIOR: case VK_NEXT:
// is suggestion available?
INT cItems = m_hwndList.GetItemCount(); // the number of items
switch (vk)
{
- case VK_HOME: case VK_END:
- m_hwndList.SendMessageW(WM_KEYDOWN, vk, 0);
- break;
case VK_UP:
if (iItem == -1)
iItem = cItems - 1;
if (celt != 1)
return E_NOTIMPL;
// FIXME: *rgelt, *pceltFetched, return value
- return E_FAIL;
+ return S_FALSE;
}
STDMETHODIMP CACLHistory::Reset()