I have used the function PreTranslateMessage to check which
key is pressed by the user. But I don't know how to check the following keys (NUMPAD, ALT, SHIFT, ESCAPE, CTRL, etc)
BOOL CMyEditView::PreTranslateMessage(MSG* pMsg)
// go to porcess another function when NUMPAD BUTTON NO 9 is pressed.....
// when other buttons such as key ' 9', 'Shift+9', 'Ctrl+9' is pressed, nothing will be done
Really, I only want to know whether the user had the NUMPAD Button only...I will not process my function when the user pressed key '9', 'Shift+9', 'Ctrl+9'. (the 9 here is the key not at the right hand side of the keyboard);
My function will only be processed when the user had pressed the Numpad button no.9.
How can I do this?