c++ - Placing window after TaskManager window fails with ERROR_ACCESS_DENIED -


i'm trying place window after taskmanager window , fails error_access_denied:

if (setwindowpos(mywindowhndl, taskmanagerhndl, left, top, right - left, bottom - top, swp_noactivate | flags)) {     log_error("setwindowpos() succeedded"); } else {     log_high("setwindowpos() failed: " << getlasterror()); }  

is there special taskmanager window , possible overcome this? thanks.

not task manager, feature introduced vista known uipi (user interface privilege isolation). here more information.

try running application elevated. see if works then. if problem.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

How to merge four videos on one screen with ffmpeg -

c - getting error: cannot take the address of an rvalue of type 'int' -