Use "Process.GetProcessById(pid.Value)".
On Thu, Aug 21, 2008 at 9:21 AM, cephire <[EMAIL PROTECTED]> wrote:
> Hi,
> Using ironpython I'm trying to get the active window details. Refering
> to voidspace (http://www.voidspace.org.uk/ironpython/winforms/
> part10.shtml), I've created a user32 dll.
Hi,
Using ironpython I'm trying to get the active window details. Refering
to voidspace (http://www.voidspace.org.uk/ironpython/winforms/
part10.shtml), I've created a user32 dll. I'm using the below code.
if User32.GetWindowText(hd, txt, WndTitleChars):
pid = clr.Reference