MTM_Paint

Replaces WM_PAINT.
This message is sent to a table when the table must be painted.

Parameters
wParam
wParam of WM_PAINT. See SDK documentation for further details.
lParam
lParam of WM_PAINT. See SDK documentation for further details.

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

Remarks
When a table is subclassed with MTblSubClass( ), the implemented window procedure "eats" WM_PAINT messages in order to avoid standard painting. Therefore M!Table sends MTM_Paint so that you are able to process paint messages.

See also
MTM_PaintDone

Created with the Personal Edition of HelpNDoc: Full-featured Help generator