win32gui.PostMessage

PostMessage(hwnd, message, wparam, lparam)

Parameters

hwnd : int

The handle to the Window

message : int

The ID of the message to post

wparam=0 : int

An integer whose value depends on the message

lparam=0 : int

An integer whose value depends on the message