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

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -