mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
parent
ab7d8f3616
commit
a5950308fd
2 changed files with 1 additions and 5 deletions
|
@ -883,7 +883,6 @@ BOOL CAutoComplete::OnEditKeyDown(WPARAM wParam, LPARAM lParam)
|
|||
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?
|
||||
|
@ -1017,9 +1016,6 @@ BOOL CAutoComplete::OnListUpDown(UINT vk)
|
|||
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;
|
||||
|
|
|
@ -27,7 +27,7 @@ STDMETHODIMP CACLHistory::Next(ULONG celt, LPOLESTR *rgelt, ULONG *pceltFetched)
|
|||
if (celt != 1)
|
||||
return E_NOTIMPL;
|
||||
// FIXME: *rgelt, *pceltFetched, return value
|
||||
return E_FAIL;
|
||||
return S_FALSE;
|
||||
}
|
||||
|
||||
STDMETHODIMP CACLHistory::Reset()
|
||||
|
|
Loading…
Reference in a new issue