MTM_Char

Replaces WM_CHAR.
This message is sent to a table or a column when the user presses a character key.

Parameters
wParam
Character code. See SDK documentation for further details.
lParam
Key data. See SDK documentation for further details.

Return
Return MTBL_NODEFAULTACTION to avoid processing the WM_CHAR message, otherwise return 0

Remarks
When a table is subclassed with MTblSubClass( ), the implemented window procedure sometimes "eats" WM_CHAR messages in order to avoid standard actions. Therefore M!Table sends MTM_Char so that you are able to process key down messages. MTM_Charn is always sent, even if WM_CHAR wasn't "eaten".

Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator