check WM_NOTIFY code
void OnNotify(HWND hWnd, WPARAM wParam, LPARAM lParam)
{
if (wParam == 4001) { // Listview Id
if (((NMHDR*)lParam)->code == LVN_KEYDOWN) {
if (((LPNMLVKEYDOWN)lParam)->wVKey == VK_A) {
SHORT nState = GetKeyState(VK_CONTROL);
if (nState & 0x80) {
SetWindowText(hWnd, "Ctrl-A");
}
}
}
}
}