win32gui.SetCapture

SetCapture()

Captures the mouse for the specified window.