in reply to Win32 Active Window

I'm not sure it applies to your problem but the attribute /function to look for might be called 'BringToFront'.

hth