OnKeyDown() Problem in Custom Controller
The problem is in OnKeyDown() I need to capture the arrow keys.
But it looks like the VK_UP/DOWN/LEFT/RIGHT keys arent sent to OnKeyDown()
All other keys, A-Z , Pageup/down, End, Home... are sent to OnKeyDown()
What so special with the arrow keys ?
In ::PreTranslateMessage(MSG *pMsg) I can capture the arrow keys with
if( pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_UP)
{
// Arrow up key
}
But it feels more right to do it in OnKeyDown where all the other key captures are
/Mathias

