[Tutor] making aaa.txt in notepad focused.
hunter92383 at gmail.com
Thu Jul 12 02:54:51 CEST 2007
from ctypes import *
# Load up the Win32 APIs we need to use.
GetForegroundWindow = windll.user32.GetForegroundWindow
foreground_window = GetForegroundWindow()
this is a part of a code I from a separate project.
I am trying to find out it's possible to do this:
handle = gesomethingfromthefocusedwindow()
later when I want to do this:
and zap that window to the front!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor