可以用SPY++查一下就知了:按一下键,会产生三个消息WM_KEYDOWNWM_CHARWM_KEYUP对应的消息映象是ON_WM_KEYDONON_WM_CHARON_WM_KEYUP对就的处理函数是OnKeyDown(UINT nChar,UINT nRepCnt,UINT nFlags);
[此贴子已经被作者于2007-10-5 20:24:33编辑过]