No, I will try that out, thanks!

Edit: GetTopWindow() only works if the window is an MDI window, which leaves me with the problem of desktopped windows.

Last edited by greeny; 16/12/05 03:06 PM.