PythonWin event handling args?

Keith Farmer kfarmer at thuban.org
Mon Nov 26 19:07:58 EST 2001


What are the contents of the params argument in a PythonWin event handler?

Example:
    def on_size (self, params):
        lparam = params[3]
        w = win32api.LOWORD(lparam)
        h = win32api.HIWORD(lparam)
        self.GetDlgItem (win32ui.IDC_LIST1).MoveWindow((0,0,w,h))

lparam I recognize, but what are the other elements of params?

----------
Keith J. Farmer
kfarmer at thuban.org
http://www.thuban.org






More information about the Python-list mailing list