Hi Sergey,
In the meantime your 2 functions are working like a bell. But I realize, that when a window is minimzed, the SetForegroundWindow() API does not bring it in front. Do you know by any chance a maximize function in API, if not, I will try to post this question in public.
Thank you so much in advance
Johann Pietschnig
pietschnig@usa.com