[pywin32-bugs] [ pywin32-Bugs-3077881 ] BringWindowToTop does not work in DOS or double click it
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2010-09-29 09:51:39
|
Bugs item #3077881, was opened at 2010-09-29 17:51 Message generated for change (Tracker Item Submitted) made by nathonzhou You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077881&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: nathon zhou (nathonzhou) Assigned to: Nobody/Anonymous (nobody) Summary: BringWindowToTop does not work in DOS or double click it Initial Comment: Let's say the window with title 'D:\\labBufferSpace' exists. Code below does not work in DOS, or just double it. But it works well in IDLE. I do not want to run it in IDLE every time. ######################################################## import win32ui,win32con,pythoncom,win32gui,win32process,win32api pwin = win32gui.FindWindow(0,'D:\\labBufferSpace') win32gui.BringWindowToTop(pwin) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3077881&group_id=78018 |