I want to trap the Arrow Keys and the Enter key in a CEdit control.
I used the sample from MSDN:
So I have a custom CMyEdit class with an overloaded OnKeyDown() function.
I added a CMyEdit control called mMyEdit in my dialog called CMyDlg.
Now I want to add code in CMyDlg to handle the event when I trap an Arrow Key. The function itself should look something like this:
NT nChar, UINT nRepCnt, UINT nFlags)
// my code here
So how do I add such an event?