There's an API function called SetActiveWindow, but unfortunately
"The SetActiveWindow function activates a window. The window must be attached to the calling thread's message queue."

I have a windows calculator running (minimised) how do I select it making it active?