MTM_KeyDown

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

Parameters
wParam
Virtual key 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_KEYDOWN message, otherwise return 0

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

Created with the Personal Edition of HelpNDoc: Easily create PDF Help documents