PyCWnd.PreTranslateMessage Virtual

PreTranslateMessage(msg)

Allows a Window to override the PreTranslateMessage handling.

Parameters

msg : tuple

Built from a MSG structure using format "iiiii(ii)"

Return Value

The result should be a tuple of the same format as the msg param, in which case the MSG structure will be updated and TRUE returned from the C++ function. If None is returned, the default handler is called.