win32api.SendMessage

SendMessage(hwnd, idMessage, wParam, lParam)

Send a message to a window.

Parameters

hwnd : PyHANDLE

The hWnd of the window to receive the message.

idMessage : int

The ID of the message to send.

wParam=None : int/string

The wParam for the message

lParam=None : int/string

The lParam for the message

Win32 API References

Search for SendMessage at msdn, google or google groups.