用WH_CALLWNDPROC钩到了某个edit控件的wm_settext消息, lparam是要显示的字符串比如"123".
可是不管如何改这个lparam, 最终都是显示"123", 是什么原因?是在这个控件的wm_settext里改这个控件本身的text不可以?
谢谢!
可是不管如何改这个lparam, 最终都是显示"123", 是什么原因?是在这个控件的wm_settext里改这个控件本身的text不可以?
谢谢!
看看这里
MSDN上也有提到
The CallWndProc hook procedure can examine the message, but it cannot modify it. After the hook procedure returns control to the system, the message is passed to the window procedure.