rich135
asked on
"Delete" key processing
win 95 vis c++ 4.1 MFC application
I am using a formview containing many buttons and an "input" box. i wish to allow the user to delete an "input box" entry using the delete key...and this works automatically...however, the program does not "receive" the fact of the the "delete" key depression., no matter how i try.
How do i set the formview to receive notification of the delete key?
I am using a formview containing many buttons and an "input" box. i wish to allow the user to delete an "input box" entry using the delete key...and this works automatically...however, the program does not "receive" the fact of the the "delete" key depression., no matter how i try.
How do i set the formview to receive notification of the delete key?
I'm not sure if I know what you mean by the fact that is works automatically, but then it doesn't work at all.... But, have you tried to receive the WM_KEYUP message. Then check to see if the input box has the focus, and then check to see which key was pressed. If it was the DEL key (have to look it up in the ASCII table) remove the entry?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
good work , mike. The en change did it.