belaqziz salwa wrote: > > how I can activate a window that is already opened, through its PID of > process >
Are you saying you have the PID of a process, and you want to bring its window to the top? I don't know of any shortcut way to do that, but you could certainly enumerate through all of the top-level windows using EnumWindows, then call GetWindowThreadProcessId until you find a window that matches. Remember that an application can have several top-level windows. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32