Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4088a72eab
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (12 sloc) 0.429 kb
from ctypes import *
MessageBox = windll.User32.MessageBoxW
GetMessage = windll.User32.GetMessage
# BOOL WINAPI GetMessage(
# __out LPMSG lpMsg,
# __in_opt HWND hWnd,
# __in UINT wMsgFilterMin,
# __in UINT wMsgFilterMax
# );
# This was written for Python 3. Python 2 would be similar, but pass a Unicode object instead
# of a string.
MessageBox(0, "Hello, World!", "Kelvin Test", 0)
Jump to Line
Something went wrong with that request. Please try again.