WM_CHAR takes a virtual key, NOT text...
Quote:
Originally Posted by MSDN
Printable View
WM_CHAR takes a virtual key, NOT text...
Quote:
Originally Posted by MSDN
You will need to use a custom message for custom input. WM_USER is made for that task. Don't use any of the messages with a specific task because the default window procedure might cause your program to behave strange.
Also I'm not sure how WPARAM and LPARAM are defined but whenever a pointer is to be passed in a message in Windows API it usually goes in LPARAM (such as with WM_SETTEXT) so WPARAM might not be designed to be able to handle pointers.