in reply to Win32 Active Window
I'm not familiar with Win32::OLE, but the function to look for is called "setfocus". Hope this helps.