Detecting a KeyDown
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all, I have a textbox (Microsoft Forms 2.0 ActiveX control). I want to do something after user press down arrow keys (VK_DOWN). when i used classwizard to add the event on the textbox, here is the function: void CSubtitlerView::OnKeyDownMytextbox(LPDISPATCH KeyCode, short Shift) { // TODO: Add your control notification handler code here } I have no idea how to get the key information from KeyCode. Can anyone help me?