I'd like to create a program that could force other programs to be "Always On Top" and later not "Always On Top".

The way I thought of doing it is after selecting a menu option in my program...it picks up on the next click of the mouse...it gets the handle of the program clicked on then...viola...makes that program float on top.

Any ideas how? I have seen it done in the past but got no idea how!