win32gui.SetWindowLong
int = SetWindowLong(hwnd, index , value )
Places a long value at the specified offset into the extra window memory of the given window.
Parameters
Comments
This function calls the SetWindowLongPtr Api functionIf index is GWLP_WNDPROC, then the value parameter must be a callable object (or a dictionary) to use as the new window procedure.