python - Can several windows be bound to the same process? -
i cannot quite understand win32gui.enumwindows. when called like
win32gui.enumwindows(enumhandler, lparam) def enumhandler(hwnd, lparam): print win32process.getwindowthreadprocessid(hwnd) it prints tuples, of same. example
... [4860, 4640] [4860, 4640] [4860, 4640] [4860, 4640] [4860, 4640] ... does mean several windows bound same thread id , process id? how possible?
windows associated threads. threads associated processes. thread can create many top-level windows likes. therefore can have multiple top-level windows associated same thread.
Comments
Post a Comment