Hello, Carc, you wrote: a C> Hello, VTT, you wrote: VTT>> Hello, Carc, you wrote: a C>>> Hello, VTT, you wrote: VTT>>>> the Legal method is AllowSetForegroundWindow / SetForegroundWindow. VTT>>>> All remaining are workaround / hack. A C>>> Why? AttachThreadInput than !?! VTT>> and that tries to mislead system that the user carried out input in this process and to receive the privilege not due to it on window transfer on the foreground. A C> Brad. If to it privileges AttachThreadInput it will be completed by failure are not supposed, and quits nothing. And the system should not depend on, whether who-thread tries to mislead her, or still that where to enter. There are no privileges - both does not work. Anybody also did not argue. The C>>>>> On my VinRar and does, when after background archiving from . It there it is curious , to it what window , rises from and takes away focus to itself as there is nothing. VTT>>>> Anything such does not do, after archiving the window hangs on a background. The C>>> Well just rechecked (Vin7 32, ). Focus to itself too floated as pretty of , and. And it rose over Foregtound a window, and at all therefrom whence it was launched (Total Commander and started up without the rights)... Guards. A C> I already wrote that checked on the code. My application worked from under restricted , adjacent applications on a miscellaneous. My code of emerging twitched everyone one and a half second. So here over applications with higher rights my good also did not float, for the C> AtttachThreadInput came to an end with failure. That is expected, and I initially described it. , , suffices to mold to me minuses. At you continuous . The privilege in this case is possibility to send a window on the foreground or to transfer such possibility to other process. Instead of "neglect with the rights of the manager" or what other system privilege. About interactions with the processes launched from under exclusive users and to which insulation methods can be applied, here speeches did not go at all. A C> But a method with AttachThreadInput at all , and official API. It is official API, but its usage for bypass of restrictions SetForegroundWindow is if and not , impudent workaround. If the window not in the foreground and SetForegroundWindow does not work, it and should sit further and wait, while the user himself in it switches. As a maximum, it can cause FlashWindow to draw attention of the user. VTT>> well just rechecked (Vin10 64, about). Floated as pretty on a background, and focus to itself did not capture. The C> Over whom did not float? It is necessary all successively and should not float. Yes over anybody did not float.