Ah, Reorx, that's a little 'brute force' for me :

Try this :

Code:
// in.cpp
BEGIN_MESSAGE_MAP(CMyInheritedListCtrl, CListCtrl)
    ON_WM_KEYDOWN()
END_MESSAGE_MAP()

// in .h
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);

// in .cpp
void CMyInheritedListCtrl::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
    CListCtrl::OnKeyDown(nChar, nRepCnt, nFlags);

    if (nChar == VK_RETURN)
    {
        // yep it's trapped - do whatever you want
    }
}
I prefer not to use PreTranslateMessage otherwise you'll end up with everything in it if you're not careful.

Darwen.