MTM_LButtonDown

Messages ››
Parent Previous Next

MTM_LButtonDown

Replaces WM_LBUTTONDOWN.
This message is sent to a table when the user presses the left mouse button.

Parameters
wParam
Key flags. See SDK documentation for further details.
lParam
Position. See SDK documentation for further details.

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

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

Created with the Personal Edition of HelpNDoc: Generate Kindle eBooks with ease